Skip to content
send.io
All posts

Best Mailgun alternatives (2027): 6 transactional email APIs compared

Best Mailgun alternatives for 2027 compared on predictable pricing, inbound webhooks, and migration effort, with send.io drop in API support. Compare six providers on cost at 100k emails, inbound webhook payloads, and real switching time, from 2 to 4 hours with send.io to weeks on SES.

On this page
TL;DR: The best Mailgun alternative in 2027 depends on whether you need predictable per-email pricing, inbound routing with full message payloads, or drop-in API compatibility. send.io accepts Mailgun request formats and delivers full inbound webhooks with body and attachments, with its Starter plan at $10/month for 50,000 credits (1 credit per email recipient) and no surprise overages. Amazon SES costs less per email but requires you to self-manage retries, monitoring, and webhook delivery, while Postmark offers full inbound payloads only on Pro and Platform plans and Resend's inbound webhooks are metadata-only. SparkPost, now part of Bird, offers a free plan and paid plans from $15/month, but it has no Mailgun format compatibility and no agent inbox primitive.

Per Mailgun's pricing page (verified December 2026), Mailgun's pricing structure changed in late 2025 and again in 2026, and many teams that relied on the Flex pay-as-you-go plan now face unpredictable monthly bills or forced migration to higher tiers. Lower pricing alone doesn't cut migration cost. A cheaper API with a different request format forces you to rewrite request payloads, response parsing, and webhook handlers for every email workflow, and those engineering hours can exceed the monthly savings.

This comparison evaluates six Mailgun alternatives on pricing predictability, API and SMTP feature parity, webhook payload completeness, inbound routing behavior, and the actual engineering hours required to switch.

Key metrics for assessing email API reliability

Reliability metrics determine whether an email API stays invisible to users or becomes a production incident.

  • Delivery event webhooks: The API should POST delivery, bounce, and complaint events with enough metadata to diagnose failures without calling back to the API. Check whether the payload includes the SMTP response code and whether retries are idempotent.
  • Inbound webhook payload completeness: Some providers deliver the full message body, headers, and attachments in the initial POST. Others deliver metadata only and require a second API call to fetch content, doubling your integration surface area.
  • API format compatibility: If the target API accepts the same request format as your current provider, migration is a base URL and API key change. If it requires rewriting request payloads, response parsing, and webhook handlers, migration effort multiplies by the number of email workflows in your codebase.
  • Suppression list portability: When you switch providers, you must export suppression data and import it into the new system, or you risk sending to invalid addresses and damaging your sender reputation.
  • Test mode and sandbox access: You should be able to test webhook delivery, DNS verification, and API authentication without sending real email or entering a credit card.

Migration paths for top Mailgun alternatives

Per Mailgun's pricing page (verified December 2026), Mailgun lists four plans: Free, Basic at $15 per month, Foundation at $35 per month, and Scale at $90 per month. The Flex pay-as-you-go plan no longer appears there. Existing users remain on the deprecated plan, while new customers must choose between fixed-tier plans with monthly email caps or migrate to a provider with more predictable pricing. The alternatives below are evaluated on total cost at 100,000 emails per month, free tier availability, and the engineering effort required to switch.

Pricing per 10,000 emails

At 100,000 emails per month, Mailgun's Scale plan charges $90 per month. send.io's Pro plan costs $20 per month for 100,000 credits, with 1 credit equaling 1 email, per the credits and pricing documentation. Amazon SES charges $0.10 per 1,000 emails on its à la carte plan, which works out to $10 for 100,000 emails.

SendGrid's Essentials plan costs $19.95 per month for 50,000 emails or $34.95 per month for 100,000 emails, and the Pro plan costs $89.95 for 100,000 emails. Postmark offers three paid tiers at the same 10,000-email base: Basic at $15 per month, Pro at $16.50, and Platform at $18. Pro and Platform charge lower overage rates of $1.30 and $1.20 per 1,000 additional emails versus Basic's $1.80. Resend's Pro plan costs $20 per month for 50,000 emails or $35 per month for 100,000 emails. Its Scale plan costs $90 per month for the same 100,000 emails but adds 1,000 domains, 10 webhook endpoints, a dedicated Slack channel, and 500 AI credits per month. SparkPost, now part of Bird, offers a free plan with 1,000 emails per month and paid plans at $15 per month (Startup, about 37,500 emails), $100 per month (Growth, about 256,000 emails), and $1,000 per month (Scale, about 2.85 million emails).

The key difference is the pricing model. Mailgun's tiered plans cap monthly sends, and exceeding the cap triggers overage charges. send.io uses a fixed monthly credit balance that expires at cycle end, so your bill never exceeds the plan cost unless you manually purchase extra credits. Amazon SES charges per email sent with no monthly cap, making it cheapest at high volume but least predictable for bursty sending.

Free plan usage caps and quotas

send.io lists a Free plan with 5,000 emails per month and a 100 recipients per day cap, according to send.io pricing. Resend's free plan sends 3,000 emails per month, while Mailgun's free tier sends 100 emails per day with no monthly cap.

SendGrid offers a free trial of 100 emails per day for 60 days and no permanent free tier. Postmark offers a free plan with 100 emails per month and no overages. SparkPost offers a free plan with 1,000 emails per month, capped at 50 per day, and paid plans starting at $15 per month. Amazon SES has no traditional free tier, though new AWS customers receive up to $200 in AWS Free Tier credits.

Transactional API and SMTP feature sets

All six providers support transactional email sends via REST API and SMTP relay, but request formats and feature completeness vary. send.io accepts Mailgun request formats, per the Mailgun integration guide, and also accepts request formats from SendGrid, Postmark, Resend, Mailchimp, Brevo, and Mailjet, so you can point existing code at send.io by changing the base URL and API key without rewriting request payloads. The Mailgun integration guide documents the exact request mapping.

Amazon SES provides a bare-bones SMTP endpoint and REST API with official AWS SDKs across major languages, but it has no template engine with versioning and no built-in webhook retry layer, so you build retries, idempotency, and event delivery yourself on top of SNS topics or Kinesis Data Firehose. SendGrid offers official SDKs in seven languages and a template engine with versioning, but the API request format differs from Mailgun's. Postmark supports REST API and SMTP with official libraries for Node.js, Python, Ruby, PHP, and .NET. Resend provides official SDKs for Node.js, PHP, Python, Ruby, Go, Java, Rust, and .NET, plus a community-maintained Elixir SDK and native React Email template support. SparkPost offers REST API and SMTP with SDKs but no Mailgun format compatibility.

Webhook delivery and payload parity

Webhook payload completeness determines whether you can process inbound email in one request or need to build a retrieval layer. Per Resend's documentation (verified December 2026), Resend's inbound webhook does not include the email body, headers, or attachments, only metadata. You must call the Received Emails API or Attachments API separately.

Postmark delivers the full email content, headers, and Base64-encoded attachments in a single webhook payload, but inbound processing is only available on Pro and Platform plans. SendGrid's Inbound Parse webhook posts messages as multipart/form-data.

Mailgun routes forward body-plain, body-html, stripped text, and attachments as form data or JSON.

According to send.io's inbound features documentation, inbound webhooks deliver the full message body, headers, and Base64-encoded attachments as JSON in one POST request. This matches Postmark's payload completeness but is available on all plans.

Inbound email webhook delivery

Amazon SES supports inbound via receipt rules that write to S3 or invoke Lambda, with no built-in webhook delivery. SendGrid delivers multipart/form-data, requiring multipart boundary parsing. Postmark delivers full JSON with body, headers, and attachments, but only on Pro and Platform plans. Resend's inbound webhook is metadata-only. Mailgun's inbound routes support both form-data and JSON. send.io delivers the full message body, headers, and Base64-encoded attachments as JSON on all plans, including the free tier.

Mailgun to new API migration steps

Migration effort is dominated by API endpoint changes, DNS verification, and webhook event mapping, not template rewrites. First, update the API base URL and API key in your environment variables. Second, verify your sending domain by adding SPF, DKIM, and DMARC records to your DNS. Third, check whether the new provider delivers webhooks in Mailgun's format. If it doesn't, map your existing webhook event handlers to the new provider's event schema. Webhooks created through send.io's Mailgun-compatible API arrive in Mailgun's own format, so existing handlers keep working. Fourth, export your suppression list from Mailgun and import it into the new provider. Fifth, test using test email addresses or sandbox mode before cutting over. send.io publishes a test address like delivered@send.io that simulates delivery outcomes without affecting sender reputation, per the transactional email best practices guide.

For providers that accept Mailgun request formats, the migration shrinks to a base URL and API key change plus DNS verification and webhook testing. For providers that require rewriting API calls, the effort multiplies with the number of email workflows in your codebase.

Evaluating send.io for transactional workloads

send.io provides one API for transactional sends, inbound routing, agent inboxes with scoped credentials, and MCP-compatible tooling, built for developers and AI agents who need more than outbound delivery. The differentiator that matters for Mailgun migrations is API format compatibility: send.io accepts Mailgun request formats, so you change the base URL to https://api.send.io/compat/mailgun and pass your send.io key through HTTP basic auth (user api, password your send.io key), with no request payload rewrite.

Budgeting for send.io integration

send.io uses fixed monthly credits that expire at cycle end, removing overage risk. According to send.io pricing, the Free plan costs $0 per month for 5,000 emails, the Starter plan costs $10 per month for 50,000 emails, the Pro plan costs $20 per month for 100,000 emails, and the Scale plan is listed at $40 per month for 250,000 emails, with one credit equal to one email recipient. send.io states that incoming email is free and does not consume credits.

Add-ons sit outside the credit balance: $1 per extra inbox per month (first 5 included) and $30 per month for a dedicated IP. According to the credits documentation, purchased extra credits are valid for 12 months, automation workflows cost 2 credits per run, and emails inside an automation cost 1 credit per recipient.

Native Mailgun API format support

send.io accepts Mailgun request formats, per the Mailgun integration guide, so you point existing code at send.io by changing the base URL to https://api.send.io/compat/mailgun and authenticating with HTTP basic auth (user api, password your send.io key). The guide documents the exact request mapping.

The compatibility layer covers messages, events, suppressions, domains, mailing lists, templates, and webhooks. Mailgun mailing lists map to send.io segments through the v3/lists endpoints. It does not cover Mailgun's email validation API, IP pools, or tag stats aggregates, per the integration guide. The SMTP relay documentation covers SMTP authentication, message size limits, and per-message recipient limits.

Ideal use cases for send.io

send.io fits teams that need inbound routing with full message payloads, agent inboxes with scoped API keys, or one API and contact layer for both send types, so suppression data stays in sync. The agent inbox primitive is the clearest differentiator. You provision a dedicated inbox per AI agent via POST /inboxes, and the creation call returns an inbox-scoped API key. It also returns IMAP/SMTP credentials when the inbox is on your own domain or on the shared agent domain, but a free mailbox has none, per the agent mailbox documentation and the inboxes section of the API reference. The scoped key has read and reply permissions for that inbox only.

send.io's hosted MCP server integration exposes 160 tools spanning email sending, listing, domains, API keys, webhooks, suppressions, templates, logs, agent inboxes, automations, and events.

send.io does not fit teams that need a publicly documented SLA guarantee or a long production track record.

Cost analysis of Amazon SES for high volume

Amazon SES is the cheapest option per email at high volume, but it requires full self-management and provides no managed support, no UI for monitoring, and no built-in retry logic.

AWS SES unit cost breakdown

Amazon SES charges $0.10 per 1,000 outbound emails on the à la carte plan, which works out to $1 for 10,000 emails, $10 for 100,000 emails, and $100 for 1 million emails. New SES accounts start on the Essentials plan beginning July 21, 2026, at $0.16 per 1,000 emails for the first 10 million emails per month, and you can switch to à la carte pricing at any time.

SES has no monthly cap, no overage charges, and no credit expiration. Incoming email costs $0.10 per 1,000 messages after the first 1,000 per month, which are free.

The hidden cost is the code you write and maintain yourself. SES has official AWS SDKs for most languages, but no template engine and no webhook retry logic. You build retries with exponential backoff, idempotency keys, bounce and complaint handling, error handling, and delivery monitoring yourself.

Operational setup for Amazon SES

SES setup requires verifying your sending domain, configuring a receipt rule set for inbound email, and building the webhook delivery layer. SES does not POST inbound messages to a webhook endpoint directly. Receipt rules write messages to an S3 bucket or invoke a Lambda function, and you build the Lambda-to-webhook bridge or poll S3.

Outbound sends require implementing your own retry logic with exponential backoff, idempotency keys, and bounce/complaint handling via SNS topics or SES event publishing to Kinesis Data Firehose.

The transactional email server architecture guide covers the build-vs-buy trade-off. SES fits teams that already run production workloads on AWS and want the lowest per-email cost.

SES suitability for Mailgun migrations

SES is not a drop-in Mailgun replacement. The API request format differs, so you rewrite request payloads, response parsing, and error handling. SES does not provide an inbound webhook endpoint, so you build the S3-to-webhook bridge. SES has no template engine.

Migration from Mailgun to SES takes longer than a base URL swap. Plan for several weeks, depending on how many email workflows you rewrite, including one to two weeks of sending a slice of traffic through SES before full cutover. The ongoing operational cost is higher than the per-email savings for most teams under 500,000 emails per month. SES fits teams sending over 1 million emails per month with existing AWS infrastructure and DevOps capacity.

Evaluating SendGrid for high volume delivery

Per SendGrid's pricing page (verified December 2026), the Essentials plan costs $19.95 per month for 50,000 emails or $34.95 per month for 100,000 emails, and the Pro plan starts at $89.95 for 100,000 to 2,500,000 emails. SendGrid no longer offers a permanent free tier (unlike Postmark's 100 emails per month or SparkPost's 1,000 per month). Exceeding the tier cap triggers overage charges at a higher per-email rate.

SendGrid pricing model breakdown

SendGrid prices by monthly email volume and feature set, so your bill steps up at each tier boundary instead of scaling per email. Essentials covers 50,000 to 100,000 emails per month, Pro covers 100,000 to 2,500,000 emails and adds dedicated IPs, subuser management, and single sign-on, and Premier is custom-priced for higher volumes. Taxes and overages may apply on top of the plan price, so estimate your peak month rather than your average.

Mapping Mailgun requests to SendGrid

SendGrid's API request format differs from Mailgun's. Mailgun uses a flat request structure with fields like from, to, subject, and html. SendGrid uses a nested personalizations array with separate from, to, subject, and content objects. The SendGrid integration guide documents the format differences.

SendGrid's webhook event schema also differs, posting events with fields like event, email, and timestamp, plus SendGrid-specific fields like sg_event_id and sg_message_id. SendGrid supports inbound email via the Inbound Parse webhook, which posts messages as multipart/form-data.

SendGrid fit for high-volume workflows

SendGrid fits teams that need a full-featured platform with a long track record and support for both transactional and marketing email. The Pro plan's dedicated IPs and subuser management matter for agencies managing multiple client domains.

SendGrid does not fit teams that need Mailgun API format compatibility, agent inboxes, or a simpler pricing model.

Why engineers migrate Mailgun workloads to Postmark

Postmark is a transactional email specialist with a strong deliverability reputation, full inbound webhook payloads, and a published MCP server, but pricing is higher than send.io and inbound is only available on Pro and Platform plans.

Pricing and cost predictability

Postmark's Basic plan costs $15 per month for 10,000 emails, with extra emails at $1.80 per 1,000. Pro costs $16.50 per month and Platform costs $18, with lower overage rates of $1.30 and $1.20 per 1,000 extra emails. Postmark also offers a free plan with 100 emails per month and no overages.

Postmark's pricing is predictable if you stay within the monthly cap, but overage charges apply at a higher per-email rate.

Postmark inbound webhook restrictions

Postmark delivers the full email content, headers, and Base64-encoded attachments as JSON, but inbound processing is only available on Pro and Platform plans. This means you pay $16.50 per month minimum for inbound, compared to send.io's free tier which includes inbound on all plans.

Postmark's inbound webhook includes spam score. send.io's inbound payload also carries a spam field (is_spam, verdict, score, and reasons), plus SPF, DKIM, and DMARC results, alongside the body, headers, and attachments, per the inbound routes section of the API reference. Postmark has no agent inbox primitive. Postmark published an official MCP server in 2026 with 24 tools spanning email sending, template management, message search, delivery diagnostics, bounces, suppressions, and webhooks, but it does not cover inbound handling. send.io's hosted MCP server exposes 160 tools including inbound routing and agent inboxes.

Use cases for Postmark migration

Postmark fits teams that prioritize deliverability and inbox placement over cost, need a proven vendor, and send only transactional email. Postmark has an established deliverability reputation and a long production track record.

Postmark does not fit teams that need inbound routing on the lowest-cost plan, agent inboxes, or Mailgun API format compatibility.

Switching to Resend: developer experience and pricing

Resend is a developer-first email API with a clean request format and native React Email support. It provides official SDKs for Node.js, PHP, Python, Ruby, Go, Java, Rust, and .NET, plus a community-maintained Elixir SDK. Inbound webhooks are metadata-only and there is no agent inbox primitive.

Predicting your monthly email spend

Resend's free plan sends 3,000 emails per month, with a cap of 100 emails per day and a limit of 3 domains. Resend Pro costs $20 per month for 50,000 emails or $35 per month for 100,000 emails. The Scale plan costs $90 per month for the same 100,000 emails but raises the domain limit from 10 to 1,000, the webhook endpoints from 5 to 10, and the AI credits from 100 to 500 per month, and adds a dedicated Slack channel. Extra emails cost $0.90 per 1,000 on both paid plans.

Resend's pricing model is simpler than Mailgun's tiered plans and SendGrid's multi-tier structure, but send.io undercuts Resend at every tier.

Developer-centric API design

Resend's API request format is cleaner than Mailgun's, with a flat structure and official SDKs that handle authentication, retries, and error parsing. Resend natively supports React Email templates, which matters for teams building transactional emails in React or Next.js. The transactional email templates guide covers React Email implementation approaches.

Per Resend's changelog (verified December 2026), Resend added inbound email support in November 2025, but the webhook is metadata-only and does not include the email body, headers, or attachments. Resend has no inbox object, no thread resource, and no per-address provisioning API.

send.io accepts Resend request formats as a literal drop-in replacement. You point the existing Resend SDK at send.io by changing the base URL and API key environment variables, per the Resend integration guide. For the Node.js SDK, set RESEND_BASE_URL=https://api.send.io and set RESEND_API_KEY to your send.io key.

Ideal workloads for the Resend API

Resend fits teams building React or Next.js applications that need a clean API, native React Email support, and don't require inbound routing with full payloads.

Resend does not fit teams that need inbound email with body and attachments in the webhook payload, agent inboxes, or the lowest cost per email.

Switching to SparkPost: developer integration

SparkPost, now part of Bird, is a high-volume email delivery service with predictive analytics and deliverability tools. It publishes a free plan with 1,000 emails per month and paid plans starting at $15 per month.

Avoiding hidden overage charges

SparkPost publishes three paid Email plans: Startup at $15 per month (about 37,500 emails at $0.40 per 1,000), Growth at $100 per month (about 256,000 emails at $0.39 per 1,000), and Scale at $1,000 per month (about 2.85 million emails at $0.35 per 1,000). The monthly deposit becomes spendable balance, and unused balance carries forward. The Free plan includes 1,000 emails per month, capped at 50 emails per day, and stops sending at that limit.

Advanced messaging and agent features

SparkPost offers predictive analytics, deliverability monitoring, and recipient engagement tracking, but no agent inbox primitive, no MCP server, and no Mailgun API format compatibility. SparkPost supports inbound email via relay webhooks that POST messages as JSON, but the payload format differs from Mailgun's and there is no documented agent inbox or per-address provisioning API.

SparkPost for high-volume workloads

SparkPost fits enterprises with dedicated email ops teams that need predictive analytics, deliverability consulting, and custom SLAs.

SparkPost does not fit teams that need Mailgun API format compatibility or an agent inbox.

Refactoring your code for Mailgun removal

The migration sequence below applies to all providers, but the time per step varies based on API format compatibility and webhook payload parity. Providers that accept Mailgun request formats reduce the sequence to a base URL and API key change plus DNS verification.

Update API endpoints and secret keys

Change the API base URL from api.mailgun.net to the new provider's base URL in your environment variables. For send.io, the Mailgun-compatible base URL is https://api.send.io/compat/mailgun. Update the credentials to the new provider's key. For send.io, keep Mailgun's HTTP basic auth scheme with user api and your send.io key as the password. If the new provider accepts Mailgun request formats, this is the only code change required.

For send.io, the Mailgun integration guide documents which Mailgun fields map to send.io fields and which Mailgun-specific features are not supported. The compatibility layer covers messages, events, suppressions, domains, mailing lists, templates, and webhooks. It does not cover Mailgun's email validation API, IP pools, or tag stats aggregates, per the integration guide.

Validate SPF and DKIM records

Add the new provider's SPF, DKIM, and DMARC records to your DNS configuration. This step is identical across providers. Propagation windows depend on your TTL settings: SPF often takes effect within minutes but can take up to 48 hours, DKIM typically propagates in 1 to 3 hours, and DMARC takes effect as soon as DNS propagates. Full global propagation can take 24 to 72 hours in edge cases. send.io's domain management API verifies DNS configuration and returns the required records, per the sending reputation documentation.

Do not remove Mailgun's DNS records until the new provider's records are verified and you've tested sending. Running both providers in parallel during the cutover period lets you fall back to Mailgun if the new integration fails.

Mapping Mailgun events to new APIs

If the new provider accepts Mailgun request formats and delivers webhooks in Mailgun's format, you can skip this mapping. Webhooks created through send.io's Mailgun-compatible API are delivered in Mailgun's own format (signature plus event-data) and verified the same way as on Mailgun, so existing handlers keep working, per the Mailgun integration guide. For other providers, map your existing Mailgun webhook event handlers to the new provider's event schema. Mailgun posts events with fields like event, recipient, and timestamp. send.io's native webhooks post events with fields like type, recipient, and timestamp, plus a bounce object with type, subtype, message, and diagnostic code on bounce events, per the API documentation. SendGrid posts events with fields like event, email, and timestamp, plus SendGrid-specific fields like sg_event_id.

For providers that use a different schema, update your webhook event parsing logic to match it. For send.io's Mailgun-compatible webhooks, no parsing changes are needed.

Validate inbound webhook delivery

Test inbound webhook delivery with a real reply to a transactional email before cutting over production traffic. Verify the webhook payload includes the message body, headers, and attachments if your application processes inbound content. Verify the webhook signature validation works with the new provider's signing secret.

send.io delivers the full message body, headers, and Base64-encoded attachments as JSON in one POST request. Postmark delivers full content and attachments but only on Pro and Platform plans. Resend delivers metadata only. SendGrid delivers multipart/form-data.

Audit your transactional email triggers

Audit every code path that sends transactional email to ensure you've updated all API calls. Check background jobs, scheduled tasks, admin panels, and third-party integrations that send email on your behalf. Update the API base URL and key in all environments: development, staging, and production.

Test each email trigger with the new provider's test addresses or sandbox mode before cutting over. send.io publishes test addresses like delivered@send.io that simulate delivery outcomes without affecting sender reputation, per the transactional email best practices guide.

Step-by-step documentation for API migration

The migration documentation below compares providers on the criteria that matter for switching from Mailgun: API format compatibility, webhook payload parity, and total cost at your sending volume.

Transactional email API providers compared

The comparison table below summarizes the six providers on pricing, free tier, API format compatibility, inbound routing, and migration effort. All pricing figures are from vendor pricing pages.

Provider

Free tier

Price at 100k emails/mo

Mailgun format compatible

Inbound webhook

Migration effort

send.io

5,000/mo

$20/mo (Pro)

Yes

Full JSON payload

1-2 days

Amazon SES

None

$10 (à la carte)

No

Via S3/Lambda

2-4 weeks

SendGrid

60-day trial

$34.95/mo (Essentials 100k) or $89.95/mo (Pro 100k)

No

Multipart/form-data

2-3 days of engineering work for the API and webhook rewrite

Postmark

100/mo

$15/mo for 10k (Basic) , then $1.80 per 1,000 extra

No

Full JSON (Pro+)

2-3 days

Resend

3,000/mo

$35/mo for 100k (Pro, $20/mo for 50k)

No

Metadata only

2-3 days

SparkPost

1,000/mo

$100/mo for about 256k emails (Growth)

No

JSON

3-5 days

send.io is the only one of the six providers compared that documents Mailgun API format compatibility, which cuts migration effort to 1 to 2 days. Amazon SES is the cheapest per email but requires building the operational layer yourself, and even a simple single-domain migration takes a day of code, a wait on SES production access, and a week or two of parallel sending. Postmark delivers full inbound payloads but only on higher-tier plans. Resend has the cleanest API design but inbound webhooks are metadata-only.

Cheapest transactional email APIs

At 100,000 emails per month, Amazon SES costs $10 on the à la carte plan, send.io costs $20 on the Pro plan, Resend costs $35 on the Pro plan (which is $20 at 50,000 emails), and SendGrid costs $34.95 on the Essentials 100k plan or $89.95 on the Pro 100k plan. Postmark's Basic plan costs $15 per month for 10,000 emails with extra emails at $1.80 per 1,000, and SparkPost's Growth plan costs $100 per month for about 256,000 emails. Mailgun's Scale plan costs $90 for 100,000 emails, per Mailgun's pricing page.

The cheapest option per email is Amazon SES, but it requires building your own retry, idempotency, monitoring, and webhook delivery layers. The cheapest managed option with full inbound payloads and Mailgun format compatibility is send.io. For a deeper comparison, see the cheapest transactional email APIs guide.

Free starter plans for email APIs

send.io's Free plan includes 5,000 emails per month with a 100 recipients per day cap, according to send.io pricing. Resend's free plan sends 3,000 emails per month, capped at 100 per day. SparkPost offers 1,000 emails per month free, capped at 50 per day. Postmark offers 100 emails per month free with no overages. Mailgun's free tier sends 100 emails per day with no monthly cap. SendGrid offers a 60-day trial of 100 emails per day, then requires a paid plan. Amazon SES has no traditional free tier, though new AWS customers receive up to $200 in AWS Free Tier credits.

For a comparison of free tiers across more providers, see the free transactional email APIs guide.

Create a free send.io account, then point a staging copy of your Mailgun integration at https://api.send.io/compat/mailgun, using HTTP basic auth with user api and your send.io key as the password, to test request format compatibility. The Mailgun migration guide documents the exact request mapping. The Free plan includes 5,000 emails per month with a 100 recipients per day cap, which covers a proof-of-concept against staging traffic but not a full production load.

FAQs

What is the cheapest alternative to Mailgun?

Amazon SES costs $0.10 per 1,000 emails on the à la carte plan, which works out to $10 for 100,000 emails, but it requires building your own operational infrastructure. send.io's Pro plan costs $20 per month for 100,000 emails with no surprise overages, per send.io pricing.

Which Mailgun competitor has the best free tier?

send.io's Free plan includes 5,000 emails per month with a 100 recipients per day cap, according to send.io pricing. Resend's free plan sends 3,000 emails per month capped at 100 per day. Mailgun's free tier sends 100 emails per day with no monthly cap.

Can teams migrate from Mailgun without changing code?

Yes, if you migrate to send.io. send.io accepts Mailgun request formats, so you change the base URL to https://api.send.io/compat/mailgun and use your send.io key as the HTTP basic auth password (user api) without rewriting API calls, per the Mailgun integration guide. Other providers require rewriting request payloads and webhook handlers.

Which alternative supports inbound email routing?

All six providers support inbound email, but payload completeness varies. send.io, Postmark, and Mailgun deliver full message body, headers, and attachments. Resend delivers metadata only. SendGrid delivers multipart/form-data. Amazon SES requires building an S3-to-webhook bridge.

How long does it take to switch from Mailgun?

Migration takes 1 to 2 days for providers that accept Mailgun request formats, including DNS verification and webhook testing. For providers that require rewriting API calls, such as SendGrid, expect 2 to 3 days of engineering work for the API and webhook rewrite. Amazon SES migration typically takes 2 to 4 weeks because you build the operational layer yourself and cut traffic over gradually.

Key terms glossary

Webhook payload: The data structure a provider POSTs to your webhook endpoint when an email event occurs. Completeness varies: some providers deliver full message body and attachments, others deliver metadata only.

MX record: A DNS record that specifies which mail server accepts email for your domain. Inbound email routing requires pointing your MX record at the provider's inbound mail server.

Scoped API key: An API key with permissions limited to specific resources, such as a single inbox or domain. A compromised scoped key exposes only the resources it can access, not your full account.

Suppression list: A list of email addresses that hard-bounced or marked your email as spam. Providers automatically suppress these addresses from future sends to protect your sender reputation.

DKIM: DomainKeys Identified Mail, a cryptographic signature that verifies an email came from your domain and wasn't modified in transit. Required for inbox placement at major email providers.

Idempotency key: A client-generated unique identifier sent with each API request. If a request is retried with the same key, the provider returns the original result instead of processing the request twice, preventing duplicate sends.