Short answer
The main Mailgun alternatives for transactional email are Groundmail (ours), SendGrid, Resend, Postmark and Amazon SES. Pick Groundmail for a lower bill from about 52,000 emails a month ($71 at 100,000 against $75 on Mailgun Foundation; at 10,000 and 50,000 the two are within a dollar of each other), a free plan of 3,000 emails a month, and transactional mail kept separate from marketing. Pick Amazon SES if cost per email is all that matters and your team will run the plumbing. Pick Postmark for 45 days of message history on every plan. Stay on Mailgun if you want email validations bundled into your plan, or live chat and phone support on Scale.
Groundmail costs less than Mailgun at 500,000 and 1 million too ($271 and $521 against $400 and $700 on Scale). Both include a dedicated IP at 100,000 emails a month, and Groundmail also offers fully dedicated mail servers built and warmed by our team.
Why teams look for a Mailgun alternative
Each reason below comes from Mailgun's own pricing page, checked Oct 21, 2026. We make a competing product, so check them yourself before deciding.
- The jump from 10,000 to 50,000 emails. Basic is $15 for 10,000 emails a month. The next plan, Foundation, is $35 for 50,000 and $75 for 100,000. Groundmail's pay as you go is $36 and $71 for the same volumes, with no tier to jump between.
- Short log history below Scale. Logs are kept 1 day on Free and Basic and 5 days on Foundation. 30 days needs Scale, from $90 a month. Teams that look up a missing password reset for a support ticket a week later often find the log is gone.
- Overage on the smaller plans. Over your included volume, Mailgun charges $1.80 per 1,000 on Basic, $1.30 on Foundation 50k and $1.10 on Foundation 100k and Scale 100k.
What Mailgun still does well: a dedicated IP included from Foundation 100k and on Scale, email validations included on Scale, and live chat and phone support on Scale. If those matter most, staying may be the right call (see when Mailgun is the better fit).
Mailgun alternatives compared
The cheapest self-serve plan on each vendor's own pricing page that covers each monthly volume, on monthly billing. Prices checked Oct 21, 2026. Amazon SES charges per email, so its figures are computed from published rates (marked c).
| Topic | Free option | 50k / month | 100k / month | 1M / month | Dedicated IP | Log history |
|---|---|---|---|---|---|---|
| Groundmail (ours) | 3,000/mo, 100/day; no card to sign up, card on file to send (never charged) | $36 (pay as you go) | $71 (pay as you go) | $521 (pay as you go) | 1 included from 100k/mo, extra $25/IP/mo; dedicated server from $264/mo | 7 days (Free), 90 days (pay as you go) |
| Mailgunchecked | 100/day | $35 (Foundation) | $75 (Foundation 100k) | $700 (Scale) | 1 included on Foundation 100k and Scale; extra $59/IP/mo | 1 day (Free, Basic), 5 days (Foundation), 30 days (Scale) |
| SendGridchecked | 60-day trial, 100/day | $19.95 (Essentials) | $34.95 (Essentials) | $799 (Pro 1.5M) | 1 included on Pro ($89.95+); extra $30/IP/mo | 3 days (Essentials), 7 days (Pro) |
| Postmarkchecked | 100/mo | $55 (Basic) | $115 (Basic 125k) | $775 (Basic 1.5M) | $50/IP/mo, 300k+/mo on Pro or higher | 45 days |
| Resendchecked | 3,000/mo, 100/day | $20 (Pro) | $35 (Pro) | $650 (Scale) | $30/mo add-on on Scale, over 3,000/day | 30 days |
| Amazon SESchecked | None for SES; new AWS customers get up to $200 in credits | $5 to $8 (c) | $10 to $16 (c) | $100 to $160 (c) | $24.95/IP/mo, you warm it; managed IPs $15/mo + $0.08/1k | You build it (event destinations) |
USD, monthly billing. Sources: Mailgun, SendGrid, Postmark, Resend, Amazon SES ($0.10 per 1,000 a la carte to $0.16 on Essentials, the default for new accounts). Groundmail from our pricing page.
Last checked on each vendor's public page.
Which Mailgun alternative fits
- Groundmail (ours): $36 at 50k (Mailgun Foundation: $35), then less from about 52k up: $71 at 100k (Foundation: $75), and less at 500k and 1M. $15 a month with 20,000 emails included, then one price per email, sent or received, with every sending feature included. Transactional mail is kept separate from marketing, with dedicated IPs and fully dedicated servers on the same API. Logs are kept 7 days on Free and 90 days on pay as you go. No marketing email. The importer brings your Mailgun suppressions, templates, domains and webhooks across in one step (below).
- SendGrid: less than Groundmail at 50k and 100k on Essentials ($19.95 and $34.95), but shared IPs only until Pro ($89.95), 3 days of activity history on Essentials, and a 60-day trial instead of a free plan. See SendGrid alternatives.
- Postmark: transactional-first, with broadcasts on a separate message stream and 45 days of message history on every plan. The most expensive here at 50k ($55) and 100k ($115). See Groundmail vs Postmark.
- Resend: a free plan of 3,000 emails a month, 30 days of data retention, and many official SDKs. A dedicated IP is a $30/mo add-on on Scale. See Resend alternatives.
- Amazon SES: by far the lowest cost per email, if your team will request production access, build the event pipeline and handle bounces. See Amazon SES alternatives.
Thirteen providers, with retention and dedicated IP terms, are in the best transactional email services and APIs in 2026. The rest of this page compares Groundmail and Mailgun in detail.
Groundmail vs Mailgun at a glance
| Topic | Groundmail | Mailgunchecked |
|---|---|---|
| Free plan | 3,000/month, 100/day, 3 domains | 100/day, 1 domain |
| 50,000 emails/month | $36 (pay as you go) | $35 (Foundation) |
| 100,000 emails/month | $71 (pay as you go) | $75 (Foundation) |
| Dedicated IP | One included from 100,000/month; extra IPs $25/IP/month; dedicated server from $264/mo | Included at 100k+ on Foundation and on Scale; extra IPs $59/IP/month |
| Log retention | 7 days (Free), 90 days (pay as you go), up to 1 year (dedicated server) | 1 day (Free, Basic), 5 days (Foundation), 30 days (Scale) |
Mailgun details from the Mailgun pricing page.
Last checked on each vendor's public page.
Groundmail's two differences are infrastructure and isolation. We run our own mail servers on our own IP space, operated by a team that has run mail servers at scale and worked with Google Postmaster and Spamhaus directly. And when you outgrow a shared pool, you can move to dedicated IPs or to a dedicated server: your own mail server and IPs, nothing shared with other customers.
Switch in 5 minutes
Paste a Mailgun API key into the Groundmail importer and it brings your setup across in one step. Nothing changes in your Mailgun account, so you can keep it as a fallback until you cut over. The importer is in beta.
- Suppressions: hard bounces, spam complaints and unsubscribes, so you never mail an address you already stopped. Bounces that were really blocks on your old provider's servers are left off, because those addresses are fine.
- Templates: converted with their variables and unsubscribe links. Anything that doesn't convert is imported as a draft with a note on what to change.
- Sending domains: added with the exact DNS changes against what you publish today (your SPF record edited, your DMARC record kept), one click on Cloudflare, Vercel and GoDaddy. Your old DKIM records stay in place until the cutover.
- Webhooks: recreated with the events mapped, switched off until your handler accepts Groundmail events.
You get a summary of what came across and what needs attention, the send-code change for Node.js, Python or cURL, and a prompt for your coding agent. Your Mailgun key is used for the import only and never stored. Start in the dashboard under Import, or from a terminal:
npm install -g groundmail-cli
groundmail login
export MAILGUN_API_KEY=…
groundmail migrate mailgun --dry-run # preview, nothing written
groundmail migrate mailgun # importThen a checklist takes you through the rest of the switch: verify domains, send a test, point your app at Groundmail, and a cutover check on your first day of sending. The import report downloads as CSV. Sending a lot of mail? Ask from the Import page and we'll run the switch with you.
Details: Import from another provider.
Pricing at 10k to 1M emails
Mailgun's paid plans are Basic, Foundation and Scale. Groundmail has one paid plan, pay as you go, plus dedicated servers. The table shows Mailgun's cheapest published plan that covers each volume next to Groundmail's bill.
| Emails per month | Groundmail | Mailgunchecked |
|---|---|---|
| 10,000 | $15 | $15 (Basic) |
| 50,000 | $36 | $35 (Foundation) |
| 100,000 | $71 | $75 (Foundation) |
| 500,000 | $271 | $400 (Scale) |
| 1,000,000 | $521 | $700 (Scale) |
Mailgun prices from the Mailgun pricing page, monthly billing. Groundmail is pay as you go, from our pricing page.
Last checked on each vendor's public page.
Overage and per-email rates
Over your plan's included volume, Mailgun charges $1.30 per 1,000 on Foundation 50k, $1.10 on Foundation 100k and Scale 100k, and falls to $0.75 on Scale 500k and $0.50 on Scale 1M. Basic is $15 for 10,000 emails with $1.80 per 1,000 over.
Groundmail has no tier to go over: pay as you go is $15 a month with 20,000 emails included, and past that every email is billed at its band's rate, $0.70 per 1,000 up to 100,000, $0.50 from 100,000 to 1 million and $0.30 above 1 million. Each rate covers only the emails in its band, so the bill grows smoothly with no tier to jump.
Free plans
Mailgun's free plan allows 100 emails a day on one domain, with 1 day of logs. Groundmail's Free plan allows 3,000 emails a month, capped at 100 a day, on up to three domains, with inbound, templates, automations and webhooks. No card to sign up. To send to other people on Free you need a verified domain and a card on file, and Free never charges it. Mailgun also lists Foundation as free for the first month.
Logs and retention
Mailgun publishes its retention by plan. Log retention is 1 day on Free and Basic, 5 days on Foundation and 30 days on Scale. Message retention is listed separately: 1 day on Foundation and up to 7 days on Scale (3 by default).
| Mailgun plan | Log retention | Message retention |
|---|---|---|
| Free | 1 day | |
| Basic | 1 day | |
| Foundation | 5 days | 1 day |
| Scale | 30 days | Up to 7 days (default 3) |
From the Mailgun pricing page.
Last checked on each vendor's public page.
Groundmail keeps the email log, meaning message content and its delivery and engagement events, for 7 days on Free, 90 days on pay as you go and up to 1 year on a dedicated server. At 50,000 emails a month that's 90 days on Groundmail against 5 days on Mailgun Foundation. Aggregate sending stats are kept for good. See data retention.
For history beyond your plan's window, the dependable way to keep delivery history for as long as you need is to store it yourself: subscribe a webhook to email.delivered, email.bounced, email.complained and email.failed and write each event to your own database. Groundmail webhooks are signed with HMAC-SHA256 and arrive as one JSON event per request. See webhooks.
Dedicated IPs and dedicated servers
Mailgun's Foundation plan gives access to a dedicated IP at 50,000 emails and includes one from 100,000; Scale includes one dedicated IP. Additional IPs are $59 per IP per month.
Groundmail offers two levels of isolation above the shared pool. Dedicated IPs give you reputation that's yours alone and fixed IPs customers can allowlist; we warm them with you before traffic moves. On pay as you go, one is included once you send 100,000 emails a month, and extra IPs are $25/mo. A dedicated server is your own mail server and IPs, built, warmed and managed by us, from $264/mo including 250,000 emails and $0.70 per 1,000 after. Nobody else's traffic shares your queue, which also answers security reviews that ask about shared mail infrastructure.
| Topic | Groundmail | Mailgunchecked |
|---|---|---|
| Dedicated IP availability | One included on pay as you go from 100,000/month; warmed with you by our team | Access at Foundation 50k; included at Foundation 100k+ and on Scale |
| Additional IPs | $25/IP/month | $59/IP/month |
Mailgun details from the Mailgun pricing page.
Last checked on each vendor's public page.
Not sure you need either? A dedicated IP only helps with steady daily volume; below that, a clean shared pool usually delivers better. See shared vs dedicated IP.
A shared pool that carries transactional mail only
On a shared pool, your reputation is pooled with everyone else's. Groundmail's shared transactional IPs carry only transactional mail: password resets, sign-in codes, receipts, alerts and invites. Product email and opt-in newsletters send from their own IPs, cold email and purchased or scraped lists aren't allowed at all (Acceptable Use Policy), and the pool is warmed and monitored by us. That keeps the mail around yours the same kind as yours: expected, personal and quickly opened.
Moving a send call from Mailgun
Mailgun's HTTP send API is POST https://api.mailgun.net/v3/<your-domain>/messages (api.eu.mailgun.net for EU domains) with form fields and HTTP basic auth, username api and your API key as the password. Groundmail takes JSON at a single endpoint with a bearer key; the sending domain comes from the from address.
curl -s --user "api:$MAILGUN_API_KEY" \
https://api.mailgun.net/v3/acme.com/messages \
-F from="Acme <no-reply@acme.com>" \
-F to=ada@example.com \
-F subject="Reset your password" \
-F text="Your reset link: https://acme.com/reset/abc123"curl -X POST https://api.groundmail.dev/emails \
-H "Authorization: Bearer $GROUNDMAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"from": { "email": "no-reply@acme.com", "name": "Acme" },
"to": "ada@example.com",
"subject": "Reset your password",
"text": "Your reset link: https://acme.com/reset/abc123"
}'| Mailgun | Groundmail |
|---|---|
POST /v3/<domain>/messages | POST /emails |
Basic auth api:<key> | Authorization: Bearer gm_... |
| Form fields | JSON body |
from | from (string, or { email, name }) |
to (repeat the field for each recipient) | to (string or array) |
subject, text, html | subject, text, html |
Mailgun fields from Mailgun's send-via-HTTP docs.
Last checked on each vendor's public page.
Official Groundmail SDKs are available for Node (npm install groundmail), Python (pip install groundmail), Go, PHP (composer require groundmail/groundmail, with Laravel and Symfony Mailer packages) and Ruby (gem install groundmail). If your app sends over SMTP, point it at smtp.groundmail.dev on port 587 (STARTTLS) with username groundmail and an SMTP credential (gmsmtp_...) from the dashboard. See SMTP.
When Mailgun is the better fit
- You want email validation in the same plan. Mailgun Scale includes 5,000 validations a month.
- You want live chat and phone support, which Mailgun includes on Scale.
- You're already integrated and happy. If delivery is good and your team knows the API, switching has a cost of its own.
When Groundmail is the better fit
- You want a lower bill above about 52,000 emails a month. $71 at 100,000 on pay as you go, against $75 on Foundation, and less at every Mailgun tier above that.
- You want a larger free plan to build on. 3,000 emails a month with inbound, templates, automations and webhooks, against 100 a day on Mailgun Free.
- You want a pool that only carries transactional mail, on servers and IPs the provider owns and operates.
- You need a dedicated server, not only a dedicated IP: your own mail server and IPs from $264/mo, built and warmed by us.
Create a free account and send your first email in a few minutes, or read the quickstart.
Frequently asked questions
What are the best Mailgun alternatives in 2026?
For transactional email: Groundmail ($36 at 50,000 emails and $71 at 100,000, against $35 and $75 on Mailgun Foundation), SendGrid (less than Groundmail at those volumes on Essentials, with a 60-day trial instead of a free plan), Postmark (45 days of message history, $55 at 50,000), Resend (30 days of retention, more official SDKs) and Amazon SES (the lowest cost per email, with more setup). Prices checked Oct 21, 2026 on each vendor's pricing page.
Is Groundmail cheaper than Mailgun?
From about 52,000 emails a month, yes: $71 vs $75 at 100,000, $271 vs $400 at 500,000 and $521 vs $700 at 1 million. Below that the two are close: $15 vs $15 at 10,000 and $36 vs $35 at 50,000. Both include a dedicated IP at 100,000 a month.
Does Mailgun include a dedicated IP?
Mailgun's pricing page lists dedicated IP access at Foundation 50k, one included from Foundation 100k and on Scale, and additional IPs at $59 per IP per month. On Groundmail's pay as you go, one is included from 100,000 emails a month and extra IPs are $25 per month; dedicated servers start at $264/mo including 250,000 emails.
How long does Mailgun keep logs?
Per Mailgun's pricing page: 1 day on Free and Basic, 5 days on Foundation and 30 days on Scale. Groundmail keeps logs 7 days on Free, 90 days on pay as you go and up to 1 year on a dedicated server; for longer history, store webhook events in your own database.
What do the free plans include?
Mailgun Free allows 100 emails a day on one domain with 1 day of logs. Groundmail Free allows 3,000 emails a month, up to 100 a day, on up to three domains with inbound, templates, automations and webhooks, and needs no card to sign up, and a verified domain and a card on file (never charged) to send to other people.
Can I send marketing email on Groundmail?
Opt-in newsletters, yes, once we approve your account (email support@groundmail.dev). They go out from their own IPs with one-click unsubscribe, separate from your transactional and product email, so a newsletter can't hurt your sign-in codes. Marketing campaigns are coming later. Cold email and purchased or scraped lists are never allowed.
How do I switch my Mailgun send calls?
Replace POST https://api.mailgun.net/v3/<domain>/messages with POST https://api.groundmail.dev/emails, swap basic auth for a Bearer gm_ key, and send from, to, subject, text and html as JSON instead of form fields. SMTP users change host, username and password to smtp.groundmail.dev, groundmail and a gmsmtp_ credential.
Sources
Facts on this page about other companies' products, prices and policies come from these public pages. They change, so check them before you decide.