Mailgun vs SendGrid

Two sides of the transactional email decision: transactional API and transactional + marketing. When each fits, what it costs, who moves from one to the other, and what makers who chose it say.

Ask your AI about this, with this page as the source:ChatGPT ↗Claude ↗Perplexity ↗

Which fits you

Choose Mailgun if
  • Your app also needs to receive and parse email that users send to it

Use it whenUsers need to reply to or email into your app, and you need to route and parse those messages.

Trade-offIts dashboard and API are older and busier than newer services, and the free tier is small.

Choose SendGrid if
  • One vendor for both jobs at large scale.

Use it whenYou want transactional and marketing sending under one account and one dashboard.

Trade-offHeavier than a small team needs.

At a glance

MailgunSendGrid
Used by47 makers' products · 11 open-source projects1055 makers' products · 26 open-source projects
Cost at default usageemails 50k emails$35/mo Foundation 50k$20/mo Essentials 50k
Moved to it on GitHubpull requests since Oct 202411 from SendGrid3 from Mailgun
Downloads1.1M/wk−23% vs npm4.5M/wk−33% vs npm
PricingFree tier; paid plans by volume. · paid from $15/mo60-day free trial (100 emails/day); paid plans by volume from $19.95/month. · paid from $19.95/mo
Free tierYesNo
Open sourceNoNo
Incidents, 90 daysfrom its status page12 (5 major)50+

Cost as you grow

At 1k emails Mailgun costs less ($0 vs $20); from about 25k emails SendGrid does ($20 vs $35); from about 250k emails Mailgun does ($215 vs $249). They're different kinds of tool — transactional API and transactional + marketing — so the prices don't buy the same thing.

$0$50$200$500$1,000$2,0001k5k10k25k50k100k250k500k1M5M
SendGridMailgunx: emails per month (email) · cheapest usable plan at each point, list prices · try your own numbers
The numbers, plan by plan
Emails per monthMailgunSendGrid
1,000$0 Free$20 Essentials 50k
5,000$15 Basic$20 Essentials 50k
10,000$15 Basic$20 Essentials 50k
25,000$35 Foundation 50k$20 Essentials 50k
50,000$35 Foundation 50k$20 Essentials 50k
100,000$75 Foundation 100k$35 Essentials 100k
250,000$215 Scale 250k$249 Pro 300k
500,000$400 Scale 500k$499 Pro 700k
1,000,000$700 Scale 750k$799 Pro 1.5M
5,000,000$2,250 Scale 2.5Mover plan limits

From each vendor's pricing page: Mailgun, SendGrid.

Who moves from one to the other

Public pull requests on GitHub since Oct 2024 whose title says "Mailgun to SendGrid" or the reverse — real code changes, by developers in general rather than makers only.

What makers say

Makers on using it for transactional email, from Product Hunt and Starter Story interviews, each linked to the source. Products with a page of their own and fuller notes first.

On Mailgun
Common integrations include: ● Payment: Stripe , Paypal ● Newsletter Sending: Mailgun ● CRM: Salesforce ● Analytics: Google Analytics and Tag Manager ● Videos: YouTube, Vimeo…
Tendenci, the makerApr 2022 ↗
I love using Plausible for analytics, LogSnag for event tracking, NewRelic for application monitoring, MailGun for emails, Render for hosting, Stripe for billing.
GummySearch, the makerAug 2022 ↗
MailGun is one of the best services I’ve ever used for Transactional email (like sending important emails related to a customer’s account).
Tech Lockdown, the makerMay 2024 ↗
11 more on the Mailgun page →
On SendGrid
…downside is that it’s much harder to implement than you might think! We’ve since moved to Sendgrid for delivery, which takes a lot of pain out of the process but it is expensive.…
Construct, the makerSep 2021 ↗
Now for the tools, here on ADYOUNEED we use ClickUp pretty much for all the task management and sprints, Stripe for payment, Segment for tracking, and Sendgrid for emails.
ADYOUNEED, the makerOct 2021 ↗
…eetings, and docs Slack and Loom for internal communication Tawk.to for customer chatbots Sendgrid for mass email comms Twitter, Facebook, and LinkedIn for social media What have been the…
Swift App, the makerSep 2022 ↗
31 more on the SendGrid page →

Loved and watch-outs

Themes that recur in makers' words and Hacker News comments, each linked to what it summarises.

Mailgun
Most loved
  • Reliable transactional email that gets a SaaS sending within days or weeks of starting. PHStarter Story
  • The API is a cost-effective choice for transactional mail next to a separate marketing tool. Starter StoryPH
  • Works as an SMTP relay for self-hosted servers, with a free tier for low volumes. HNHN 2HN 3HN 4
Watch-outs
  • Shared sending IPs regularly land on Yahoo and Outlook blocklists, partly because spam also flows through its network. HNHN 2HN 3HN 4
On Product Hunt: 5.0★, 8 reviews
SendGrid
Most loved
  • Client libraries for JavaScript and Python are easy to use, and the docs are clear. PHPH 2
  • One service covers onboarding, transactional and bulk marketing email at scale. PHPH 2Starter Story
  • It can act as a plain SMTP smarthost behind Postfix, with no API work needed. HNHN 2
Watch-outs
  • Deliverability is poor, and its internal reputation score can look great while Gmail and Microsoft reputation tanks. HNHN 2HN 3HN 4
  • Since the Twilio acquisition the free plan was retired and the product feels neglected. HNHN 2HN 3
  • Its network carries a lot of spam, and phishing emails that pose as SendGrid are common. HNHN 2HN 3HN 4
On Product Hunt: 4.7★, 21 reviews · mentioned most: easy integration, scalability, transactional emails

Who uses each

Used by both — often one replacing the other, or each for a different part of the product

What makers pair each with

With SendGrid
ResendTransactional APIA modern developer API with email templates written as React components.vs Mailgun →vs SendGrid →
PostmarkTransactional APIDeliverability when the mail has to arrive within seconds.vs Mailgun →vs SendGrid →
Amazon SESRaw infrastructureSending at high volume, where cost per email matters more than tooling.vs Mailgun →vs SendGrid →