Transactional email API engineered for sub-120ms latency
Send password resets, receipts, and order confirmations via clean REST endpoints, type-safe SDKs, or standard SMTP with automatic multi-provider failover routing.

What is Mailofly Email API & SMTP Relay?
Mailofly Email API is a high-speed transactional email dispatch service providing REST endpoints, universal SMTP relay, and type-safe SDKs (Node.js, Python, Go, PHP, Dart). It guarantees sub-120ms dispatch latency with active multi-provider failover and includes 3,000 free emails monthly.
Global dispatch latency
Uptime SLA guarantee
Free monthly emails
Technical Parameters & Standards
REST (JSON), SMTP (Port 587 / 465)
TypeScript, Python, Go, PHP, Dart/Flutter, cURL
Bearer API Keys (mf_live_... / mf_test_...)
Automatic exponential backoff with jitter
Engineered for developer velocity
Idiomatic type-safe SDKs
Official libraries for Node.js, Python, Go, Dart, and PHP with strict compile-time validation and built-in retry mechanisms.
Zero-configuration SMTP relay
Drop your Mailofly SMTP credentials directly into Laravel, Django, Rails, WordPress, or Supabase for instant migration.
Multi-provider active failover
If an upstream cloud provider or ISP experiences regional latency, Mailofly reroutes packets dynamically within milliseconds.
How it works
Create workspace API key
Generate a scoped live or test key directly in your Mailofly dashboard.
Install official client library
Run npm i @mailofly/node, pip install mailofly, or use the standard REST JSON endpoint.
Send your first message
Dispatch transactional emails with 3 lines of code and monitor real-time delivery in mail logs.
Frequently Asked Questions
Explore related features
SMTP Relay Service
High-deliverability SMTP relay service supporting TLS ports 587 and 465. Connect WordPress, Laravel, Postfix, and custom applications with 99.99% uptime and 3,000 free monthly emails.
Marketing Emails & Broadcasts
Design, schedule, and dispatch marketing campaigns to segmented audiences with dynamic Handlebars variables, sender rotation, and real-time open and click telemetry.
Automated Webhook Events
Receive instant HTTPS event webhooks for every message state change with cryptographic HMAC signature verification and automatic retries.
Ready to build with Email API & SMTP Relay?
Join thousands of engineering teams delivering transactional and lifecycle email with blazing speed and zero downtime.