Mailgun vs your own SES, per month
List prices from Mailgun's pricing page, checked 9 November 2026. SES is à la carte. OpenSES adds nothing per email.
| Emails per month | 10k | 50k | 100k | 500k | 1M |
|---|---|---|---|---|---|
| Mailgun | $15 | $35 | $90 | $530 | $1,080 |
| OpenSES + your SES | $1 | $5 | $10 | $50 | $100 |
Source: Mailgun pricing and Amazon SES pricing explained. “from” means the vendor only publishes a starting price for that plan. Full breakdown: Mailgun pricing in 2026.
Why teams look for a Mailgun alternative
- Overage pricing makes spiky volume expensive
- Short log retention on cheaper plans
- Wanting the inbound features without a per-route limit
What Mailgun does well
- Inbound routing and parsing
- SMTP and API side by side
- Dedicated IPs from mid-tier plans
OpenSES and Mailgun
| OpenSES | Mailgun | |
|---|---|---|
| What it is | Open-source email platform on your own Amazon SES | Email API |
| Who sends the email | Amazon SES in your AWS account | Mailgun's infrastructure |
| Price per 1,000 emails | $0.10, paid to AWS | Plan price plus overage |
| Free option | Self-host free; Cloud 7-day free trial | 100 emails a day, one-day log retention, one inbound route. |
| Domain reputation | Yours; stays if you leave OpenSES | Tied to your Mailgun account |
| Transactional API | Yes, with templates, scheduling and idempotency | Yes |
| Receiving and inbox | Yes, threaded, with replies; on your domain or a subdomain beside Google Workspace | Inbound routes to a URL |
| Broadcasts and sequences | Yes, with topics, segments and one-click unsubscribe | No |
| Self-host | Yes, one command into your AWS | No |
| Source code | AGPL-3.0 | Closed |
Moving from Mailgun to OpenSES
You can run both side by side while you switch; nothing has to happen in one night.
- 1
Add your domain in OpenSES and publish the DKIM TXT and MAIL FROM records.
- 2
Replace Mailgun's form-encoded send call with a JSON POST to /v1/emails; v:variables become template variables.
- 3
Mailgun routes become OpenSES inboxes: turn on receiving for the domain and change the MX to SES's inbound endpoint. Forwarding to a URL becomes the email.received webhook.
- 4
Export bounces, unsubscribes and complaints and import them as suppressions.
- 5
Move traffic, then remove Mailgun's DNS records.
When to stay on Mailgun
OpenSES is not the right choice for everyone. Stay if:
- You need Mailgun's email validation API as a core feature
- You want SMTP relay; OpenSES sends over the HTTP API
Common questions
Run it on your own SES
Self-host OpenSES for free, or use OpenSES Cloud with a 7-day free trial. Either way, Amazon bills you $0.10 per thousand emails and your domains stay in your AWS account.