On this page
  1. Mailgun vs SendGrid: which one to pick
  2. Mailgun vs SendGrid at a glance
  3. Mailgun vs SendGrid pricing at 10,000, 100,000 and 1 million emails
  4. Mailgun vs SendGrid free plan
  5. Deliverability
  6. Mailgun vs SendGrid setup and developer experience
  7. Mailgun vs SendGrid features: logs, webhooks, templates and inbound
  8. Mailgun vs SendGrid support and reliability
  9. Mailgun vs SendGrid AI readiness
  10. Switching between Mailgun and SendGrid
  11. Alternatives to Mailgun and SendGrid
  12. FAQ

Mailgun vs SendGrid: Price, Features and Support Compared

Pick Mailgun for EU-hosted data, inbound email routing and an MCP server that can send; pick Twilio SendGrid for the lower price at 100,000 emails a month and marketing campaigns in the same account. At 100,000 emails, SendGrid costs $34.95 (Essentials) and Mailgun $75 (Foundation), checked November 2026.

Written by Relay, the Email Stack Review teamPublished Updated No ads or affiliate links

Both services do the same job: you make an API call or open an SMTP connection, and they deliver your password resets and receipts. The differences sit in price at the extremes, in what each tier includes, and in what happens when something breaks. We compared both on vendor pricing pages and docs, published tests and first-hand user reports. If you searched "SendGrid vs Mailgun", this is the same comparison.

Mailgun vs SendGrid: which one to pick

Mailgun wins on EU data, free plan, logs and AI tooling; SendGrid wins on mid-volume price and built-in marketing. Here is the choice by situation.

Your situation Pick Why
10,000 emails a month on a paid plan Mailgun Basic is $15; SendGrid's cheapest paid plan is $19.95 and covers a 50,000 band
50,000 to 100,000 emails a month, shared IP SendGrid $34.95 at 100,000, against $75 for Mailgun Foundation
100,000 emails a month with a dedicated IP Mailgun One IP is included in the $75 Foundation 100k tier; SendGrid needs Pro at $89.95
1 million emails a month Mailgun Scale at 1M is $700; SendGrid needs the 1.5M Pro tier at $799
EU-hosted data Mailgun US or EU per domain; SendGrid offers EU data residency only on Pro and Premier
A free plan that doesn't expire Mailgun 100 emails a day; SendGrid has a 60-day trial
Newsletters and transactional mail in one account SendGrid Marketing Campaigns; Mailgun has no marketing product
A coding agent that sends and debugs mail Mailgun Its MCP server can send; Twilio's only searches the docs

Mailgun vs SendGrid at a glance

Mailgun (by Sinch) and Twilio SendGrid cover the same core features; they differ in plan gating and in what each keeps for you.

Mailgun Twilio SendGrid
Sending REST API and SMTP REST API and SMTP
Official SDKs 6 languages (Go, Node.js, PHP, Java, Ruby, Python) 7 languages (C#, Go, Java, Node.js, PHP, Python, Ruby)
Webhooks and events ✓ Yes (Event Webhook)
Inbound email Routes: 1 on Free, 5 on Basic, full on Foundation and Scale Inbound Parse Webhook on all plans
Templates Template builder and API on Foundation and Scale Dynamic templates (Handlebars) on all plans, testing on Pro
Sub-accounts and teams Subaccounts in the docs but on no self-serve plan in the pricing table; unlimited users on Foundation and Scale Subusers on Pro and Premier (up to 15); 1,000 teammates on Pro
Dedicated IP One included from Foundation 100k and on Scale; extra IPs $59 a month Included on Pro (from $89.95); not on Essentials
Log retention 1 day Free and Basic, 5 days Foundation, 30 days Scale 3 days Trial and Essentials, 7 days Pro; up to 30 with a paid add-on
EU data region Yes, US or EU per domain Yes, on Pro and Premier
DPA and compliance DPA published; SOC 2, ISO 27001 and HIPAA not stated on the pages we read SOC 2 Type II listed on every plan; Twilio DPA; ISO 27001 and HIPAA not confirmed
Marketing product None (sister brand Mailjet) Marketing Campaigns, priced separately
Status page status.mailgun.com status.twilio.com
Price at 10,000 / 100,000 / 1M $15 / $75 / $700 $19.95 / $34.95 / $799
Free plan Free: 100 emails a day 60-day trial, 100 emails a day

Vendor pricing pages, docs and trust pages, checked November 2026. SendGrid has no 10,000 or 1M step: the figures are the cheapest plan that covers the volume.

Mailgun vs SendGrid pricing at 10,000, 100,000 and 1 million emails

SendGrid is cheaper at 100,000 emails a month ($34.95 against $75); Mailgun is cheaper at 10,000 ($15 against $19.95) and at 1 million ($700 against $799).

Volume a month Mailgun plan Mailgun cost Per 1,000 SendGrid plan SendGrid cost Per 1,000
10,000 Basic $15 $1.50 Essentials (50,000 band) $19.95 $2.00
100,000 Foundation 100k $75 $0.75 Essentials 100k $34.95 $0.35
1,000,000 Scale 1M $700 $0.70 Pro 1.5M $799 $0.80

Prices from each vendor's pricing page, checked November 2026. Cheapest plan that covers the volume, list price, per-1,000 cost computed. Mailgun's Scale plan at 100,000 is $90 and adds 30-day logs plus chat and phone support.

The headline hides three things. Mailgun's overage is $1.80 per 1,000 on Basic and $1.10 on Foundation 100k and Scale. SendGrid doesn't print its overage rate on the pricing page. And SendGrid's cheap plan has shared IPs only, so a dedicated IP means Pro at $89.95. That flips the 100,000 result: with a dedicated IP, Mailgun at $75 is $14.95 cheaper.

Mailgun's Optimize (inbox placement and reputation monitoring) is a separate product, from $49 a month on Pilot. SendGrid's Deliverability Insights dashboard is part of the service. Mailgun users do feel the small-volume price:

“Pricing could be a little lower. Especially for small businesses. I do not send more than 4-8K Mails per month and pay almost 20 $.”

G2 review, October 2026

SendGrid users feel its pricing changes:

“Suddenly they change their pricing and require that we pay $60/mo to send our ~50 emails per month!”

Capterra review, July 2025

Full plan tables: Mailgun pricing and SendGrid pricing.

Edge: SendGrid at 100,000 emails on a shared IP; Mailgun at 10,000, at 1 million, and whenever you need a dedicated IP at 100,000.

Mailgun vs SendGrid free plan

Mailgun still has a permanent free plan with 100 emails a day, while Twilio SendGrid replaced its free plan with a 60-day trial in 2025.

Mailgun Free is capped at 100 emails a day, one custom domain, one inbound route and one day of logs. The cap is hard, so it works for a prototype, not for a launch. Foundation and Scale list their first month as free.

SendGrid's trial gives 100 emails a day for 60 days with no credit card, then sending stops until you pick a paid plan. New accounts got the trial from March 2025, and Twilio's changelog retired the free Email API and Marketing Campaigns plans on May 27, 2025. Some users found out the hard way:

“Apparently they switched from free to paid but didn't tell me. Had they told me I could have upgraded in time, instead i lost a bunch of customers because of it.”

Capterra review, August 2025

Edge: Mailgun. A permanent 100-a-day plan beats a trial that ends.

Mailgun vs SendGrid deliverability

No independent inbox-placement test after May 2025 covers either service, so deliverability is a tie on public data; both give you the same authentication and reputation tooling. Details on why that matters are in the ranking's deliverability section.

What each gives you:

Tool Mailgun Twilio SendGrid
Authentication setup SPF and DKIM records with automatic verification Automated security creates and maintains SPF, DKIM and DMARC records
Suppression lists Automatic on bounce, complaint and unsubscribe Automatic for blocks, bounces, spam reports and unsubscribes
Dedicated IP at 100,000 emails Included on Foundation 100k ($75) Pro only ($89.95)
IP warm-up Automated dedicated IP warm-up Automated IP warm-up
Insights Mailgun Optimize, a separate paid product Deliverability Insights dashboard

Vendor docs and pricing pages, checked November 2026.

The published tests are old or vendor-run:

Source Who ran it When What it found
EmailToolTester transactional test Independent review site Published by July 2023 SendGrid 82.0% (inbox plus tabs); Mailgun not covered
Mailtrap deliverability comparison Mailtrap, a competing service Published by January 2025 Inbox rate: Mailgun 71.4%, SendGrid 61.0%

The two tests use different metrics and small samples, so don't line them up.

Users split on both. A SendGrid user wrote:

“Even with a dedicated IP, SendGrid has always had poor deliverability. I switched to Postmark years ago and never looked back.”

Hacker News, April 2026

Another says its outbound deliverability has been good:

“if you self-host an MTA, you can relay through SendGrid, which also has had really good outbound deliverability”

Hacker News, October 2025

A Mailgun user who left cited blocklists:

“been much more reliable than my previous provider (mailgun). Their IPs were constantly getting on spam blocklists with yahoo and hotmail.”

Hacker News, September 2025

Tie. Your domain, authentication and list quality matter more than the platform.

Mailgun vs SendGrid setup and developer experience

Mailgun takes five steps from its quickstart and SendGrid six, and Mailgun lets you send from a sandbox domain before DNS is verified, so it is slightly quicker to a first email.

Mailgun Twilio SendGrid
Steps in the vendor quickstart 5 6 (account, 2FA, API key, domain authentication, SDK, send)
DNS records SPF TXT, DKIM TXT, tracking CNAME, MX for receiving 3 CNAMEs plus a DMARC TXT (automated security)
Approval Sandbox domain sends to authorized recipients until your domain is verified None stated in the quickstart; new accounts can be placed under review
SDK languages 6 7

Counted from each vendor's quickstart and docs, checked November 2026.

Both have documented, mature APIs. A SendGrid reviewer:

“The APIs are well documented, making the developer experience a good one. Detailed reporting and high deliverability give a sense of comfort that SendGrid works as advertised.”

Capterra review, March 2026

A Mailgun reviewer:

“The API is straightforward, the documentation is clear, and managing high-volume transactional emails feels simple and efficient.”

G2 review, October 2026

Edge: Mailgun, narrowly, on fewer steps and the sandbox domain. SendGrid has one more SDK language.

Mailgun vs SendGrid features: logs, webhooks, templates and inbound

Mailgun is stronger on logs and inbound routing; SendGrid is broader on built-in templates, sub-users and marketing, so the two come out even.

Mailgun's logs are the feature users mention most:

“The dashboard, event logs, and automatic retries make troubleshooting simple.”

Capterra review, September 2025

SendGrid's log view gets praise too, though retention is short on Essentials (three days):

“Good IP reputation. Easy to user interface that gives robust access to logs. Reasonable pricing makes it hard to beat”

Capterra review, February 2026
Mailgun logs table with timestamp, event, sender, recipient and delivery status
Screenshot: Mailgun Help Center, source.
SendGrid Email Logs list with message ID, recipient, subject and status
Screenshot: Twilio SendGrid docs, source.

SendGrid's Inbound Parse Webhook is on every plan, while Mailgun's routes scale with the plan. Mailgun also sells an Email Validation API (extra validations from $1.20 per 100 on Basic and Foundation); SendGrid includes 2,500 validations on Pro and none on Essentials. See the transactional email templates guide for what to look for in template tooling.

Tie. Mailgun for logs and inbound; SendGrid for templates, sub-users and marketing.

Mailgun vs SendGrid support and reliability

Mailgun includes ticket support on every plan and adds chat and phone on Scale, while Twilio SendGrid lists no support tiers on its pricing page and sells personalized support as an add-on.

User reports are mixed for both. SendGrid's clearest complaints are slow replies and account blocks:

“SendGrid took weeks to reply to my customer service messages…”

Hacker News, January 2026

“Multiple account blocks with no warning, no questions, over weekends when no one sees it.”

Hacker News, June 2026

Mailgun has its own suspension and support stories, though fewer of them in the first-hand reports we read:

“they suddenly disabled my account without warning because of a flawed automated system.”

Capterra review, September 2025

“Messaged them, no reply. Had to spam their twitter to get a response.”

Hacker News, July 2025

Both have long-time fans: a SendGrid user reports never facing downtime, and a Mailgun user on Capterra says support "responds quickly when needed".

Edge: Mailgun, narrowly, because support is included on every plan and complaints about it are less dominant.

Mailgun vs SendGrid AI readiness

Mailgun has an official MCP server that can send email and manage your account; Twilio SendGrid's Twilio-wide MCP server only searches docs.

Mailgun Twilio SendGrid
MCP server Yes, local (npx), 50+ operations: send, domains, logs, templates, suppressions, webhooks Twilio's hosted docs MCP (public beta); it can't send email
llms.txt Yes, on the docs Twilio-wide file, no SendGrid-specific one
Agent tooling Cursor plugin, AI assistant in the docs Twilio Skills (beta)

Vendor docs and GitHub, checked November 2026.

Edge: Mailgun. An agent can set up and debug sending through it; with SendGrid it can only read the docs.

Switching between Mailgun and SendGrid

Moving either way means redoing DNS, moving suppressions and re-pointing webhooks; neither vendor publishes a guide for the other direction that we could find.

  1. Export suppression lists first (bounces, complaints, unsubscribes) so you don't mail people who opted out.
  2. Add the new service's DNS records alongside the old ones, verify, then remove the old SPF include and DKIM keys. If a check fails, see fixing SPF, DKIM and DMARC failures.
  3. Recreate templates. SendGrid uses Handlebars dynamic templates; Mailgun has its own template builder and API.
  4. Re-point webhooks and any inbound route or parse setup.
  5. Warm up if you move a dedicated IP: both offer automated warm-up.

Read the transactional email best practices before a cutover.

Alternatives to Mailgun and SendGrid

If neither fits, Amazon SES is cheaper than both and Mailtrap and Postmark rank above SendGrid on support. See the best transactional email services ranking, the Mailgun alternatives and SendGrid alternatives pages, and the three-ways Amazon SES vs Mailgun vs SendGrid and Mailgun vs Mailtrap vs SendGrid. Mailgun's reviews: Mailgun review. SendGrid's: SendGrid review. For SendGrid against another API, see Postmark vs SendGrid.

Mailgun vs SendGrid: FAQ

Is Mailgun better than SendGrid?

It depends on volume and needs. Mailgun is better for EU-hosted data, inbound routing, a permanent free plan and AI tooling; SendGrid is cheaper at 100,000 emails a month ($34.95 against $75 for Mailgun Foundation) and includes marketing campaigns. Prices checked November 2026.

Is Mailgun legit?

Yes. Mailgun is a long-running email API, part of Sinch, with a published data processing agreement and a status page. User reports are mixed on support and account suspensions, as they are for SendGrid, so warm up a new domain and keep your list clean.

Is SendGrid still free?

No. Twilio SendGrid retired its free Email API plan on May 27, 2025. New accounts get a 60-day trial of 100 emails a day, then need a paid plan starting at $19.95 a month. Mailgun still offers a free plan of 100 emails a day. Checked November 2026.

Why am I getting emails from SendGrid?

A company or app you use sends its mail through Twilio SendGrid's delivery service, so the message arrives from SendGrid's servers. Check the sender's name in the From line. To stop the mail, use the unsubscribe link or contact the sender; SendGrid delivers mail on behalf of others.

Which is cheaper, Mailgun or SendGrid?

At 100,000 emails a month SendGrid is cheaper: $34.95 on Essentials against $75 on Mailgun Foundation. At 10,000 Mailgun is cheaper ($15 against $19.95), and at 1 million too ($700 against $799 for SendGrid Pro 1.5M). Checked November 2026.

How we compare. We price every tool from its own pricing page at fixed volumes, follow each quickstart, cite published tests with their date and publisher, and count first-hand user reports by theme. Read the methodology