GDPR Compliance

We use cookies to ensure you get the best experience on our website. By continuing, you accept our use of cookies, privacy policy and terms of service.

Transactional Email — API & SMTP

Transactional Emails
Delivered in Under 2 Seconds.

Migomail's transactional email infrastructure sends receipts, OTPs, password resets, shipping notifications, and alerts in under 2 seconds — via REST API or SMTP relay — on dedicated IPs completely isolated from your marketing sends.

< 2s Latency REST API + SMTP Dedicated IPs Per-Message Analytics Template Engine
Migomail Transactional Email
< 2s
MTA Send Latency
99.5%
Inbox Placement
REST
API + SMTP Relay
100%
Isolated IP Pool
Live
Delivery Analytics
4.9★
Customer Rating
Platform Capabilities

Built for the Emails Your Customers
Cannot Afford to Miss

Transactional emails — receipts, OTPs, alerts, confirmations — are the most important emails you send. They need sub-2-second delivery, 99%+ inbox placement, and infrastructure completely isolated from your marketing sends.

01

Sub-2-Second Message Delivery

Migomail's transactional MTA queues and dispatches messages within 2 seconds of API receipt in 99th-percentile conditions. For OTPs, login alerts, and payment confirmations where the customer is actively waiting, this latency target is operationally non-negotiable. Our SLA is measured at the MTA exit point, not at estimated inbox arrival.

< 2s p99 MTA dispatch latencyMonitored per-endpoint SLAAutomatic failover on node failurePriority queue for critical message types
02

Dedicated IP Pool — Fully Isolated

Your transactional emails share no IP infrastructure with marketing campaign sends — not within your own account, and not with any other Migomail customer. A reputation event on a marketing campaign cannot degrade delivery of your OTPs, receipts, or password resets. Isolation is enforced at the MTA configuration level, not just at the UI level.

Hard IP isolation from marketing sendsNo cross-customer IP sharingSeparate DKIM signing domainIndependent reputation monitoring
03

REST API & SMTP Relay

Send transactional email via a simple REST API call with JSON payload — authentication, to/from/subject/body, template ID, and merge variables in a single request. Alternatively, configure Migomail as an authenticated SMTP relay in your application's existing mail library — no code changes beyond the SMTP host and credentials.

POST /messages REST endpointSMTP relay (port 587 with STARTTLS)Official SDKs: Node, Python, PHP, RubySandbox environment for testing
04

Server-Side Template Engine

Store and version transactional email templates on Migomail's template engine — so your engineering team manages HTML/CSS design once, and your application sends a template ID plus merge variable values per message. Template updates are deployed via API or dashboard without code changes or application redeployment.

Template storage & versioningMerge variable substitution at sendREST API template managementNo application redeployment for design changes
05

Per-Message Delivery Analytics

Every transactional message has a unique message ID. Query delivery status, open events, and bounce outcomes per message ID via the REST API — or view them in the transactional analytics dashboard. Essential for debugging delivery issues, proving delivery for legal purposes, and monitoring message-level SLA compliance.

Per-message delivery status APIMessage event webhook (delivered/opened/bounced)Message search by recipient, subject, or IDDelivery SLA compliance reports
06

Webhook Event Streaming

Subscribe to real-time delivery events via webhook — delivered, soft bounce, hard bounce, spam complaint, and unsubscribe — streamed to your own endpoint as each event occurs. Use delivery webhooks to trigger retry logic, update your own database with message status, or alert your operations team when critical message types fail to deliver.

Real-time event stream via webhookConfigurable retry on endpoint failureEvent types: delivered, bounced, opened, complainedPer-event filtering (receive only what you need)
07

Sending Domain & DKIM Configuration

Send transactional email from your own domain — support@yourapp.com, noreply@yourapp.com — with full DKIM and SPF authentication. Migomail generates and manages DKIM keys, provides SPF include records, and guides you through the 3-DNS-record setup process. DMARC policy configuration is supported and recommended.

Custom sending domain configurationDKIM key generation & managementSPF include record provisionDMARC policy setup guidance
08

Multi-Application Support

Manage transactional sends from multiple applications — production, staging, and multiple products — under a single Migomail account. Each application gets its own API key with scoped permissions, its own sending domain, and its own analytics view. API keys can be restricted to specific send operations for security.

Multiple API keys per accountPer-application analyticsAPI key permission scopingSeparate sending domains per product
Transactional Message Types

Every Critical Message Type.
Sub-2-Second for All of Them.

Migomail's transactional infrastructure handles every message type your application sends — from time-critical OTPs to detailed order confirmations — each on the same dedicated, isolated sending infrastructure.

noreply@yourapp.com Just now
🔐 Your one-time password
OTP • 2FA • Email Verify
OTP & Verification

One-time passwords and 2FA codes where every second of delay increases abandonment. Migomail prioritises OTP messages in the send queue.

< 1.2s avg delivery
noreply@yourapp.com Just now
🛒 Your order is confirmed
Receipt • Invoice • Purchase
Order Confirmation

Post-purchase confirmation with order summary, line items, delivery estimate, and support link. Sent from your ecommerce platform via API or SMTP.

< 1.8s avg delivery
noreply@yourapp.com Just now
🔑 Reset your password
Reset • Account Recovery
Password Reset

Secure password reset links with expiry time, requesting IP, and one-click invalidation. Critical for account security — slow delivery increases account-takeover risk.

< 1.5s avg delivery
noreply@yourapp.com Just now
📦 Your order has been shipped
Dispatch • Tracking • Delivery
Shipping Notification

Order dispatch and delivery milestone notifications triggered by warehouse events. Connects to your fulfillment system via API to fire on each status change.

< 2s avg delivery
noreply@yourapp.com Just now
⚠️ Action required on your account
Alert • Notification • Status
System Alerts

Payment failures, subscription renewals, account threshold alerts, and system status notifications. Triggered programmatically by your backend with custom merge data.

< 1.9s avg delivery
noreply@yourapp.com Just now
👋 Welcome to the platform
Account Created • Activation
Welcome & Onboarding

Post-signup welcome emails and account activation messages triggered immediately on registration. Sent via API with account-specific merge data.

< 1.7s avg delivery
Integration

REST API or SMTP Relay —
Your Choice, Migomail's Infrastructure

Whether your application uses direct HTTP calls, a mail library with SMTP, or a server-side SDK — Migomail connects without changing your existing code architecture.

Migomail Transactional API
REST API Node.js SDK Python SDK SMTP Config
// Send a transactional email via Migomail REST API const response = await fetch('https://api.migomail.com/v1/messages', { method: 'POST', headers: { 'Authorization': 'Bearer migo_sk_live_••••••••', 'Content-Type': 'application/json' }, body: JSON.stringify({ to: 'priya@example.com', from: 'noreply@yourapp.com', template: 'otp-verification-v3', variables: { otp_code: '847 291', expires_min: 5, user_name: 'Priya' } }) }); const { message_id, status } = await response.json();
200 OK · message_id: msg_9fKx2Lp · queued in 0.31s · dispatched in 1.47s
Two Integration Methods

REST API for direct HTTP sends, SMTP relay for existing mail library compatibility. Both use the same dedicated IP infrastructure, the same template engine, and the same analytics — so you can mix both methods across different services in the same account.

Official SDKs — 5 Languages

Production-ready SDKs for Node.js, Python, PHP, Ruby, and Java — each maintained in the Migomail GitHub organisation. SDKs handle authentication, request signing, retry logic, and response parsing. Each SDK has full TypeScript type definitions and inline documentation.

Server-Side Template Engine

Store HTML templates on Migomail and send a template ID + variables per API call. Your application code contains no email HTML — design changes are deployed via the Migomail dashboard with no application code release required.

Sandbox & Staging Environments

Dedicated sandbox API keys send emails into a delivery simulation environment — messages are processed through the full stack (authentication, template rendering, variable substitution) but not delivered to real inboxes. Use the sandbox for automated integration tests without sending to real subscribers.

Full API Documentation

Versioned REST API documentation with request/response examples for every endpoint, error code reference, rate limit specifications, SDK installation guides, and webhook payload schemas. Available at migomail.com/api-docs and searchable in-browser.

Delivery Architecture

From Your Application to
Your Customer's Inbox in 4 Stages

Every transactional message passes through four distinct infrastructure stages — each engineered for the lowest possible latency at that point in the delivery chain.

< 100ms
API / SMTP
Your Application

Your app sends a POST request to /v1/messages or connects via SMTP relay. Authentication, rate limiting, and payload validation happen here in under 100ms.

REST API authenticationPayload validationRate limit checkTemplate ID lookup
< 200ms
Render Engine
Template & Merge

The template is fetched from storage, merge variables are substituted, conditional blocks are evaluated, and the final HTML is assembled. CSS is inlined for Outlook compatibility before dispatch.

Template version fetchVariable substitutionConditional block evalCSS inlining
< 1.5s
MTA Layer
Message Transfer

The rendered message enters the dedicated transactional MTA queue. Connection to the recipient's mail server is established using pre-warmed SMTP connections. DKIM signing is applied before dispatch.

Dedicated IP connectionDKIM signingProvider throttle checkSMTP handshake
< 2s
Inbox
Recipient Delivered

The message is accepted by the recipient's mail server. A delivery event is logged and available via API and webhook. The message ID can be used to query per-message status at any future point.

Delivery event loggedWebhook dispatchedStatus queryable via APIOpen tracking pixel active
How It Works

From First API Call to
Production Transactional Sends in 5 Steps

Most transactional email integrations are complex. Migomail's onboarding is designed to get your first production send live in under an hour.

01
Create a Sending Domain
Add your sending domain (noreply@yourapp.com). Migomail generates the 3 DNS records needed — DKIM TXT record, SPF include, and tracking CNAME. Verification is automatic once DNS propagates.
02
Build or Import Templates
Design transactional email templates in the drag-and-drop builder, or import your existing HTML. Store each template with an ID (e.g., "otp-v3") for API reference. Version templates for rollback.
03
Get Your API Key
Generate an API key from the developer dashboard. Scope it to message send only for production security. Get a separate sandbox key for testing. Install the SDK for your language.
04
Send Your First Test
POST a message to the sandbox API endpoint with a test recipient. Verify the render, check variable substitution, confirm DKIM signing, and validate delivery receipt in the message log.
05
Switch to Production
Swap the sandbox API key for your live key and the sandbox endpoint for the production endpoint. Configure your webhook URL to receive delivery events. Monitor the delivery dashboard for the first 48 hours.
Why Migomail

What Separates a Transactional Email
Platform from a Marketing ESP

Transactional email has completely different requirements from marketing email. These are the five dimensions on which purpose-built transactional infrastructure differs from a shared marketing ESP used for both.

01
Latency Is a Feature, Not a Metric

For marketing emails, delivery within a few minutes is acceptable. For OTPs and payment confirmations, every second of delay directly increases abandonment and support ticket volume. Migomail's transactional MTA is engineered specifically for sub-2-second dispatch — with pre-warmed SMTP connections, priority queue processing, and no shared-resource contention from marketing campaign sends.

< 2s p99 dispatch SLAPre-warmed provider SMTP connectionsDedicated transactional queueNo contention from marketing sends
02
IP Isolation Is Non-Negotiable

A marketing campaign with a 2% complaint rate — acceptable for a promotional send — will permanently damage the reputation of any IP it shares. Migomail enforces hard IP isolation between transactional and marketing sends at the MTA configuration level. No shared IP pools, no shared reputation exposure, no cross-contamination risk.

Separate IP pools by send typeNo shared reputation exposureIndependent DKIM signing domainMTA-level enforcement (not UI-level)
03
Per-Message Accountability

Marketing campaigns are measured in aggregate — open rate, click rate, bounce rate across the send. Transactional emails require per-message accountability: was this specific receipt delivered? Can I prove this specific OTP was sent? Migomail logs every transactional message with a unique ID, queryable delivery status, and timestamped events — for debugging, compliance, and SLA reporting.

Unique message ID per sendPer-message delivery status APITimestamped event logLegal delivery proof capability
04
Developer Experience Is Part of the Product

Marketing teams use dashboards. Engineering teams use APIs, SDKs, and documentation. Migomail's transactional API is versioned, fully documented, available in a Postman collection, tested with a sandbox environment, and shipped with SDKs in 5 languages. The integration documentation is written for the engineer implementing it, not the marketer explaining what it does.

Versioned REST APISDKs for Node, Python, PHP, Ruby, JavaSandbox environment for testingPostman collection available
05
Template Management Without Engineering Tickets

When a transactional email template needs updating — legal footer change, new brand guidelines, updated product image — most integrations require an engineering ticket, a code review, and a deployment. Migomail's server-side template engine lets the design team update templates via the dashboard, with the change live on the next API send, without any application code change.

Templates stored server-side on MigomailDeploy design changes via dashboardNo application redeployment neededTemplate versioning for rollback
< 2s
p99 MTA Dispatch Latency
99.5%
Transactional Inbox Placement
100%
IP Isolation from Marketing
4.9★
Customer Rating
What Engineering Teams Say

From Developers and CTOs
Using Migomail Transactional

Feedback from engineering leads, backend developers, and CTOs who integrated Migomail's transactional API into production applications.

★★★★★

We were using a popular marketing ESP for our transactional sends because it was what the marketing team already had. Our OTP delivery was averaging 4.2 seconds and we were getting about 8% support tickets from users who didn't receive their code. After migrating to Migomail's transactional infrastructure, our p95 OTP delivery is 1.3 seconds and those tickets essentially disappeared. The integration took about 3 hours including testing.

Arjun Mehta
Arjun Mehta
CTO, Fintech Startup
★★★★★

The sandbox environment is what convinced me to choose Migomail during the evaluation. Every other provider's sandbox was either broken, not a real simulation of production, or didn't support webhooks. Migomail's sandbox runs the full stack — authentication, template rendering, variable substitution, DKIM signing — and fires webhooks to your test endpoint. I could write complete integration tests that covered the real sending flow without touching production. We caught 3 integration bugs in testing that would have caused production failures.

Nikhil Bose
Nikhil Bose
Senior Backend Engineer, Ecommerce Platform

Ready to Send Transactional Emails That Actually Arrive?

Integrate in under an hour. Dedicated IPs, sub-2-second latency, server-side templates, and sandbox testing — all included. No credit card required to start.

star-1
star-2
Hero image

“Rackwave Technologies has significantly improved our marketing performance while providing reliable cloud services. We’ve been using their solutions for a while now, and the experience has been seamless, scalable, and results-driven.”

David Larry

Founder & CEO

Have a question or feedback? Fill out the form below, and we'll get back to you as soon as possible.

Sending your message…

Trusted for overall simplicity

Based on 400+ reviews with customer satisfaction on
Trustpilot Trustpilot Trustpilot Trustpilot Trustpilot Trustpilot Trustpilot Trustpilot Trustpilot Trustpilot Trustpilot Trustpilot
FAQ

Frequently Asked Questions

Common questions about Migomail's transactional email infrastructure.

  • What is the difference between transactional and marketing email?

    Transactional emails are triggered by a specific user action or system event — an OTP after login, a receipt after purchase, a password reset link after a request. They are sent to one recipient at a time, are expected by the recipient, and must arrive immediately. Marketing emails are sent in bulk to subscriber lists, are promotional or informational in nature, and have more flexible delivery time requirements. Migomail provides separate infrastructure for each type because they have fundamentally different latency, deliverability, and compliance requirements.

  • What is the latency SLA for transactional sends?

    Migomail's transactional SLA is sub-2-second MTA dispatch at the 99th percentile — measured from API receipt to SMTP acceptance by the recipient's mail server. This does not include the time for the recipient's mail server to deliver the message to the user's inbox, which is outside Migomail's control and typically adds 0–30 seconds depending on the provider. For OTPs where immediate delivery is critical, our measured p50 latency is under 800ms.

  • Can I use SMTP relay instead of the REST API?

    Yes. Migomail provides an authenticated SMTP relay on port 587 with STARTTLS. Configure your application's existing mail library (Nodemailer, PHPMailer, Python smtplib, ActionMailer, etc.) with the Migomail SMTP host, your account username, and an API key as the password. The SMTP relay uses the same dedicated IP infrastructure and template engine as the REST API — the only difference is the protocol your application uses to connect.

  • How do server-side templates work?

    You create a template in the Migomail builder or by importing HTML, give it a template ID (e.g., "otp-verification-v2"), and reference that ID in your API calls along with a variables object containing the merge values. At send time, Migomail fetches the current template version, substitutes all merge variables, evaluates any conditional blocks, inlines the CSS for Outlook compatibility, and dispatches the rendered HTML. To update the template design, you edit it in the Migomail dashboard — no application code change or redeployment required.

  • Are transactional sends isolated from my marketing campaigns?

    Yes, completely. Migomail enforces hard IP isolation between transactional and marketing sends at the MTA configuration level — not just at the user interface level. Your transactional emails use a dedicated IP pool with its own reputation history, DKIM signing domain, and Postmaster Tools monitoring. A reputation event on a marketing campaign (high complaint rate, sending to spam traps) cannot affect the delivery or reputation of your transactional IP pool.

  • Can I query the delivery status of a specific message?

    Yes. Every transactional message receives a unique message_id in the API response. You can query the delivery status of any message by its ID via GET /v1/messages/{message_id} — the response includes queued timestamp, dispatch timestamp, provider acceptance timestamp (if available), open events, bounce outcome, and complaint flag. Message records are retained for 90 days on standard plans and 1 year on enterprise plans.

  • Does Migomail support webhook events for transactional sends?

    Yes. Configure a webhook endpoint URL in your account settings to receive real-time events for all transactional messages: delivered (accepted by recipient server), opened (tracking pixel fired), soft_bounce (temporary failure, retry scheduled), hard_bounce (permanent failure, suppressed), and spam_complaint (FBL report received). Each event includes the message_id, recipient, event timestamp, and additional context data. Webhooks are retried with exponential backoff if your endpoint returns a non-2xx response.

  • What programming languages does the Migomail SDK support?

    Official Migomail SDKs are available for Node.js / TypeScript, Python, PHP, Ruby, and Java — all maintained in the Migomail GitHub organisation with semantic versioning. Each SDK includes full type definitions, inline documentation, retry logic for rate limit and transient errors, and usage examples for the most common transactional use cases. A Postman collection covering all API endpoints is also available for teams that prefer API-client testing before integration.