Email clients for your technology stack
Use official SDKs for Node.js/TypeScript, Python, Go, PHP, and Dart, or integrate directly with REST.

What is Mailofly Official SDKs & REST Examples?
Mailofly provides five official SDKs and REST examples using cURL. The Node.js SDK includes TypeScript declarations. Handle retries according to your application requirements.
Official SDKs
Node.js declarations
JSON API
Engineered for developer velocity
Official clients
Use maintained SDKs for five languages.
Clear API errors
Handle failures and retries according to your application workflow.
REST access
Use JSON requests directly when your stack does not need an SDK.
How it works
Install library
Run npm i @mailofly/node, pip install mailofly, or dart pub add mailofly.
Initialize with API key
Pass your workspace API key to the client instance.
Send with 3 lines of code
Dispatch emails, manage contacts, and stream webhook verification with simple one-liners.
Explore related features
Email API & SMTP Relay
Send notifications, receipts, and verification emails through Mailofly's REST API or SMTP relay. Use official SDKs, searchable logs, and signed webhook events to integrate email into your application.
SMTP Relay Service
Connect existing apps and email clients to Mailofly's SMTP relay using an API key. Send from verified domains and inspect recorded delivery status and errors.
Marketing Emails & Broadcasts
Create and schedule marketing campaigns for segmented audiences, use supported template variables, select sender identities, and review campaign analytics.
Ready to build with Official SDKs & REST Examples?
Join thousands of engineering teams delivering transactional and lifecycle email with blazing speed and zero downtime.
