Rasket vs Mailgun
Both send email over a REST API. Every row below was read from Rasket's own pages and Mailgun's own pages on 2026-09-16, and every one of them links to the page it came from.
- Rasket
- Rasket is an email API for developers: one REST API, a dashboard and typed SDKs for transactional email and broadcasts, with inbound mail, signed webhooks and an MCP server in the same product and on the same key.
- Mailgun
- Mailgun is an email API from Sinch with six official SDKs, an SMTP relay, rule-based inbound routing and signed webhooks, sold on plans whose log retention grows with the tier.
Key takeaways
- Extra emails, per 1,000 — Rasket: $0.60. Mailgun: From $1.80 on Basic.
- Entry paid plan — Rasket: $20 a month for 50,000 emails. Mailgun: $15 a month for 10,000 emails.
- Free plan — Rasket: 3,000 emails a month, 100 a day, 3 domains. Mailgun: 100 emails a day.
- Inbound email — Rasket: Yes. Mailgun: 1 route on Free, 5 on Basic, full routing from Foundation.
- Official SDKs — Rasket: Node.js and Python. Mailgun: Ruby, PHP, Python, Java, Go and Node.js.
How they compare
Rasket first, then the same row for the other product. A number beside a cell is the source it was read from; the list at the foot of the page has the link and the date.
| Criterion | Rasket | Mailgun |
|---|---|---|
| Inbound email | Yes Rasket, source 1Receive at your own domain on every plan, delivered as a signed webhook. | 1 route on Free, 5 on Basic, full routing from Foundation Mailgun, source 13 |
| Transactional and broadcasts on one plan | Yes Rasket, source 2A broadcast travels the same send pipeline as a password reset, on the same plan and the same key. | Not published Mailgun, source 13 |
| Signed webhooks | Yes Rasket, source 3 | Yes Mailgun, source 14A token, a timestamp and an HMAC-SHA256 signature posted with the event. |
| Replay a webhook event | Yes Rasket, source 3Send the event again from the dashboard or the API; a replay carries the identical payload under the same event id. | Not published Mailgun, source 15 |
| Idempotent sends | Yes Rasket, source 4An Idempotency-Key is remembered for 24 hours. | Not published Mailgun, source 16 |
| Versioned templates | Yes Rasket, source 5Published versions with typed variables; every send records the version it used. | Not published Mailgun, source 16 |
| Automations | Yes Rasket, source 6 | Not published Mailgun, source 13 |
| MCP server | Yes Rasket, source 7An HTTP MCP server with seven toolsets, plus a setup skill. | Yes Mailgun, source 17 |
| Markdown docs and llms.txt | Yes Rasket, source 8Markdown at every docs URL, with llms.txt and llms-full.txt. | Yes Mailgun, source 16A .md suffix on a documentation URL returns Markdown, and llms.txt maps the set. |
| Official SDKs | Node.js and Python Rasket, source 9 | Ruby, PHP, Python, Java, Go and Node.js Mailgun, source 18 |
| Free plan | 3,000 emails a month, 100 a day, 3 domains Rasket, source 10 | 100 emails a day Mailgun, source 13 |
| Entry paid plan | $20 a month for 50,000 emails Rasket, source 10 | $15 a month for 10,000 emails Mailgun, source 13The Basic plan. |
| Extra emails, per 1,000 | $0.60 Rasket, source 10The rate steps down to $0.25 as the Scale ladder climbs. | From $1.80 on Basic Mailgun, source 13From $1.30 on Foundation and from $1.10 on Scale. |
| Data retention | 30 days on the self-serve plans Rasket, source 10Custom retention on a Custom plan. | 1 day of logs on Free and Basic, 5 on Foundation, 30 on Scale Mailgun, source 13 |
| Dedicated IP | An add-on on Scale Rasket, source 10 | One included on Scale, extra IPs $59 a month each Mailgun, source 13 |
| SMTP relay | No Rasket, source 11Sending is the REST API, the SDKs and the MCP server. There is no relay to point a mail client at. | Yes Mailgun, source 13 |
| DKIM key size | 2048-bit, one key per domain Rasket, source 12 | Not published Mailgun, source 16 |
| Best for | Developers who want sending, receiving and broadcasts behind one API key | Teams who route inbound mail with rules and want a relay in front of it |
Where Mailgun wins
Mailgun publishes six official SDKs to our two, and runs an SMTP relay, so an existing application that already speaks SMTP can point at them without a code change. Their inbound routing is rule-based rather than a single webhook, which is a genuinely different model: if you want mail matching one pattern stored and mail matching another forwarded, they express that as routes and we express it as code in your handler. They also start dedicated IPs at a lower volume than a Custom plan with us.
The verdict
The rows to read here are retention and the cost of extra mail. Mailgun keeps one day of logs on Free and Basic, five on Foundation and thirty only at Scale, where every self-serve Rasket plan keeps thirty; extra email starts at $1.80 a thousand on Basic against $0.60. Both sign their webhooks, and both publish Markdown documentation and an MCP server, so the agent rows are a tie. Mailgun is the better choice when you want routing rules and a relay; Rasket when a day of logs is not long enough and broadcasts belong on the same plan as the rest of your mail.
Frequently asked questions
Is Rasket a good alternative to Mailgun?
Yes, on retention and price in particular. Mailgun keeps one day of logs on its Free and Basic plans and thirty only at Scale; every self-serve Rasket plan keeps thirty. Extra email starts at $1.80 per thousand on Basic against $0.60 on Rasket. What Mailgun has and Rasket does not is an SMTP relay, four more SDK languages and rule-based inbound routing.
Does Mailgun include inbound email?
Mailgun: 1 route on Free, 5 on Basic, full routing from Foundation. Rasket receives mail at your own domain on every plan, including the free one, and delivers each message to a signed webhook with its headers, text, HTML and attachments.
Which is cheaper at 50,000 emails a month?
Mailgun's published Basic plan is $15 a month for 10,000 emails, so 50,000 means 40,000 extra emails at from $1.80 per thousand on top — the pricing page prices the tier with a slider rather than printing every step. Rasket is $20 a month for 50,000 emails with extra mail at $0.60 per thousand. Read both price lists for your own volume before deciding; these are the figures each page showed on the date checked.
Does Rasket have an SMTP relay?
No. Rasket sends over the REST API, the Node and Python SDKs, and the MCP server, and there is no relay to point a mail client or an off-the-shelf application at. If moving means changing an SMTP host rather than changing code, that is a real reason to stay where you are.
Can I migrate from Mailgun to Rasket?
Add the domain in Rasket, publish the DKIM, SPF and DMARC records we generate, and leave Mailgun sending until verification passes. Then move the call to POST /emails with the key in an Authorization header. Inbound routes become a receiving domain and one signed webhook, with the matching you were expressing as rules written in your handler instead; your existing webhook verification is replaced by checking Rasket's signature, and you can replay an event from the dashboard while you get it right.
Which is better for AI agents?
It is close. Mailgun publishes an MCP server, Markdown at its documentation URLs and an llms.txt index; so does Rasket, with a setup skill and llms-full.txt as well. Neither of us is the one to avoid here. The difference is what the agent can reach in one place: a Rasket key covers sending, receiving, templates, contacts and broadcasts, so an assistant does not need a second product to run a campaign.
Sources
- 1. Rasket — http://localhost:3000/features/receiving. Read 2026-09-16.
- 2. Rasket — http://localhost:3000/features/broadcasts. Read 2026-09-16.
- 3. Rasket — http://localhost:3000/features/webhooks. Read 2026-09-16.
- 4. Rasket — http://localhost:3000/docs/idempotency. Read 2026-09-16.
- 5. Rasket — http://localhost:3000/features/templates. Read 2026-09-16.
- 6. Rasket — http://localhost:3000/features/automations. Read 2026-09-16.
- 7. Rasket — http://localhost:3000/features/agents. Read 2026-09-16.
- 8. Rasket — http://localhost:3000/llms.txt. Read 2026-09-16.
- 9. Rasket — http://localhost:3000/about. Read 2026-09-16.
- 10. Rasket — http://localhost:3000/pricing. Read 2026-09-16.
- 11. Rasket — http://localhost:3000/features/email-api. Read 2026-09-16.
- 12. Rasket — http://localhost:3000/features/domains. Read 2026-09-16.
- 13. Mailgun — https://www.mailgun.com/pricing/. Read 2026-09-16.
- 14. Mailgun — https://documentation.mailgun.com/docs/mailgun/user-manual/webhooks/securing-webhooks. Read 2026-09-16.
- 15. Mailgun — https://documentation.mailgun.com/docs/mailgun/user-manual/webhooks/webhooks. Read 2026-09-16.
- 16. Mailgun — https://documentation.mailgun.com/llms.txt. Read 2026-09-16.
- 17. Mailgun — https://documentation.mailgun.com/docs/mailgun/mcp. Read 2026-09-16.
- 18. Mailgun — https://documentation.mailgun.com/docs/mailgun/sdk/introduction. Read 2026-09-16.
Last checked 2026-09-16. Prices and plan contents change. Every figure above was read from the linked page on the date beside it; if one has moved since, the page it came from is the one to trust.
Try it against your own mail
Create a key, verify a domain, and send your first email the same morning. The free plan does not expire.