Mailgun and Amazon SES are both popular with developers who send a lot of email, but one is a product and the other is infrastructure. The short answer: SES is far cheaper per email and lets you choose any AWS region, while Mailgun gives you HTTP webhooks, inbound routes, logs and a dashboard ready to use, with US or EU regions. Figures below come from each vendor’s pages, checked on 16 November 2026.
Who each one is for
Mailgun, owned by Sinch, is a developer email API built around sending, inbound routing and address validation. It suits teams that want to start sending immediately, route incoming mail, manage many domains or keep data in the EU without running anything themselves.
Amazon SES is AWS’s email service, the cheapest per email of the major providers. It suits teams already on AWS, with high volume and engineers who can build event handling and logs on top of SNS or EventBridge.
Pricing compared
| Monthly volume | Mailgun | SES a la carte | SES Essentials |
|---|---|---|---|
| 10,000 | $15 (Basic) | $1 | $1.60 |
| 50,000 | $35 (Foundation 50k) | $5 | $8 |
| 100,000 | $75 (Foundation 100k) | $10 | $16 |
| 500,000 | $400 (Scale 500k) | $50 | $80 |
| 1,000,000 | $700 (Scale 1M) | $100 | $160 |
SES figures are computed from published per-email rates. SES also lists Pro ($105 per account per region per month plus $0.22 per 1,000) and Enterprise ($500 plus $0.23 per 1,000) plans. New accounts with no metered SES use since 1 June 2025 start on Essentials from 21 July 2026, but a la carte at $0.10 per 1,000 is still selectable. Attachments add $0.12 per GB. Mailgun shows a one-month free trial on Foundation and Scale.
Worked example: 1 million emails a month with a dedicated IP
At 1 million a month Mailgun Scale 1M costs $700 and includes one dedicated IP and 30 days of logs. On SES you pay $100 a la carte plus $24.95 for a Standard dedicated IP, about $125 a month. SES is about $575 a month cheaper. To match Mailgun you would also store events from SNS or EventBridge, build a log search, and forward events to your app as webhooks. For a team that already runs AWS pipelines that is a modest project; for a small team it is a lot of new work.
Worked example: 100,000 emails a month with inbound
A support tool sending 100,000 emails and receiving 20,000 replies a month pays $75 on Mailgun Foundation 100k, with full inbound routing included. On SES it pays $10 for sending plus $2 for 20,000 inbound emails, plus $0.09 per 1,000 chunks of 256KB. That is roughly $12 to $15, but you parse and route the mail yourself.
Features
- Getting started: Mailgun lets you sign up and verify a domain. SES starts in a sandbox that can only send to verified addresses until AWS grants production access.
- Events: Mailgun sends HTTP webhooks. SES publishes to SNS or EventBridge.
- Logs: Mailgun keeps 1 day on Free and Basic, 5 on Foundation and 30 on Scale. SES does not publish a log retention period.
- Inbound: Mailgun gives 1 route on Free, 5 on Basic and full routing from Foundation. SES charges per inbound email and per 256KB chunk, or $0.15 per 1,000 with Mail Manager.
- Domains: Mailgun allows 1 on Free and Basic and 1,000 on Foundation and Scale. SES does not publish domain limits on its pricing page.
- Dedicated IPs: Mailgun includes one from 100,000 a month and sells extras at $59 each. SES sells Standard IPs at $24.95 each, or Managed IPs at $15 per account plus $0.08 per 1,000. Read dedicated vs shared IPs first.
Deliverability and account policies
SES reviews you at the start: production access is decided by AWS Trust and Safety by email, and AWS Support cannot explain or overturn a denial. We did not find a published suspension or review policy for Mailgun. On either, your bounce and complaint rates decide whether you keep sending, so clean your lists and handle bounces; this guide to hard and soft bounces explains the difference.
On data location, both are flexible. Mailgun lets you pick US or EU per domain, keeps message data in that region and offers Australia by contract. SES keeps data in whichever AWS region you choose.
Developer experience
Mailgun has SDKs for Go, Node.js, PHP, Java, Ruby and Python. SES is called through the standard AWS SDKs with AWS credentials, which suits teams already inside AWS and adds IAM setup for everyone else. Both offer SMTP relay, so existing SMTP code can move between them by changing host and credentials; see SMTP vs API.
Which should you choose?
Choose Mailgun if
- You want webhooks, logs and inbound routing without building them.
- You want to start sending without a sandbox review.
- You manage many domains.
- You want EU data residency in a ready product.
Choose Amazon SES if
- You send high volume and cost per email dominates.
- You already run on AWS and know SNS, EventBridge and IAM.
- You need a region Mailgun does not offer self-serve.
- You have engineering time for logging and event handling.
A third option
Mailcandor delivers through Amazon SES and adds the pieces SES leaves to you: HTTP webhooks, logs, inbound email on every plan, a deliverability coach and a human review with written reasons before any restriction. It includes unlimited domains and 3,000 free emails a month, and Mailgun SMTP setups can point at its SMTP relay. See Mailcandor vs Mailgun and Mailcandor vs Amazon SES.