Skip to main content

SDKs & Dev Tools 🛠️

Don’t want to deal with raw HTTP requests? Fair enough. We’ve got official libraries for all the popular languages. Install, plug in your API key, and start sending.

Pick your language

Node.js & TypeScript

Full TypeScript support, autocomplete for everything, ESM and CommonJS builds.

AI / MCP Server

Connect Cursor, Claude, or any AI assistant directly to Mailofly with no setup.

Python

Works with async and sync code. Pydantic validation included.

Go

Fast, idiomatic Go client built for concurrent workloads.

PHP

PSR-compliant, works seamlessly with Laravel and Symfony.

Dart & Flutter

Runs on mobile (Flutter) and server-side Dart.

All SDKs come with

Full type safety

Request, response, and error types — no guessing what fields exist.

Smart routing

Multi-account support and automatic identity selection built right in.

Auto-retry

Transient failures and rate limits are retried automatically with backoff.

Quick comparison


Using a language we don’t have an SDK for yet?

No problem — you can hit our REST API directly with any HTTP client:
Check the API Reference for all available endpoints.