SendGrid vs Mailgun for small apps: reputation and free plans
For a small app, pick Mailgun if you want an API-first setup with logs and inbound routing; pick SendGrid if you also want marketing email under the same account. Neither fixes shared-IP reputation by itself, and community reports say the free plans are gone or reduced, so check current terms before you commit.
Sohail Hussain11 min readShort answer
- For an app that only sends and receives transactional mail, pick Mailgun; pick SendGrid instead only if you want marketing campaigns in the same account.
- Shared-IP reputation is a risk on both, and neither vendor's free tier is something to build on, so read each pricing page on the day you decide.
- Authenticate your own sending domain with whichever you choose; that protects your reputation more than the vendor does.
You probably searched "SendGrid vs Mailgun" after one of two events: your app's mail started landing in spam from an IP you do not control, or a vendor removed the free plan your side project ran on. Both happen, and switching vendors fixes neither automatically.
I have not verified current prices, quotas or plan names for either vendor, so this page quotes none. Where a number matters, I tell you which limit to look for and which page to check. Dates below mean "as of November 2026".
Verdict and comparison
Choose Mailgun if your app sends receipts, password resets and alerts, and you want an API-first service with event logs and inbound routing. Choose SendGrid if one account should cover app mail and newsletters or campaigns. If you are leaving one for the other only because of a bad shared IP, diagnose first (see the reputation section), because the problem may follow you.
| Dimension | SendGrid | Mailgun |
|---|---|---|
| Best fit | App mail plus marketing campaigns in one account | App-only mail with API-first workflow |
| Marketing campaigns | Separate campaigns product | Not the main focus |
| Receiving inbound mail | Inbound Parse webhook | Inbound routing |
| Sending methods | SMTP relay and HTTP API | SMTP relay and HTTP API |
| Delivery events | Webhooks (delivered, bounced, complaint and more) | Webhooks (delivered, bounced, complaint and more) |
| Shared IP pools | Yes | Yes |
| Dedicated IP | Paid option; confirm which plan includes it | Paid option; confirm which plan includes it |
| Free tier | Do not plan around one | Do not plan around one |
| Prices and limits | Check SendGrid's pricing page | Check Mailgun's pricing page |
Both expect you to authenticate your own domain. The real differences are product shape, how each treats very small accounts, and how much attention you will pay to reputation.
Why this choice is harder than it looks
The two issues people raise most are tangled together. Shared IP pools affect deliverability, and free-plan changes push small apps onto paid shared pools or onto a new vendor. Developers have reported moving from SendGrid to Mailgun over shared-IP reputation, and reported scrambling when SendGrid's free plan went away. Others have reported looking for Mailgun alternatives too. I cannot verify those reports against a vendor document, so treat them as a reason to test, not as a verdict on either company.
Pools also change over time. An old complaint says little about the pool you would be placed in today.
Shared-IP reputation: what is at stake
On a shared plan, your mail leaves from IP addresses used by many customers. If another customer on that pool sends to bad lists, the pool's sender reputation suffers. You can then see delays, soft bounces or spam-folder placement while nothing is wrong in your own sending.
Keep it in proportion:
- Both vendors run shared pools, and neither can promise yours stays clean.
- Both vendors act against abusive customers, but not instantly.
- A move can fix a pool problem and leave a list problem untouched. If your own bounce or complaint rate is high, you will damage the new IPs too.
- Mailbox providers also score your sending domain, and that score travels with you to any vendor.
What a dedicated IP does and does not solve
Both vendors have offered dedicated IPs as a paid option; check which plan includes one and what it costs today. A dedicated IP isolates you from other customers, but it also makes your own volume the only thing mailbox providers see.
A small app sending a few hundred messages a day may not produce enough steady traffic to build a good reputation on a fresh IP, and the IP must be warmed up gradually. At low volume, a well-run shared pool with proper domain authentication is often the better place to be.
Small volume
If you send fewer than a few thousand messages a day, start on a shared pool with your own authenticated domain. Consider a dedicated IP only when your volume is steady enough to keep it warm.
How to tell whether the pool is your problem
- Pull the bounce text from your provider's logs. A
421or4.7.xdeferral that names the sending IP or a rate limit points at the pool or at throttling; a550 5.1.1(user unknown) points at your list. - Check whether the problem hits one recipient provider (for example only Gmail) or all of them.
- If Gmail is the issue, set up Google Postmaster Tools for your domain. Domain reputation there reflects you; IP reputation reflects the pool.
- Compare the timing with changes you made, such as a new list import or a template change.
- Open a ticket with the vendor with full headers, timestamps and the sending IP. Ask directly whether that IP is on a blocklist.
You can read the sending IP out of a bounced message's headers with the email header analyzer. For how deferrals look from the sender side, see email throttling and rate limits.
Free-plan removal: what to assume
As of November 2026, do not assume either vendor gives you a no-cost tier you can leave running indefinitely. Developers have reported that SendGrid's free plan was removed, and the spec behind this page also points to both vendors cutting free options. The exact current terms are only on each vendor's own pricing page, and I have not confirmed them.
What this means in practice:
- Do not build a hobby project on the assumption of free sending. Budget for the cheapest paid tier.
- A trial is fine for evaluating, but check what happens when it ends. Some accounts stop sending outright, and that can mean password-reset emails silently failing.
- Look at limits that matter more to small apps than the headline email count: daily caps, how many sending domains you can add, log retention, and whether a dedicated IP is offered at your tier.
- Amazon SES, Postmark and Resend are the other names that usually come up when people leave either vendor. Ask them the same questions on their own pages.
Silent stops
Before relying on any trial or entry plan, find out what happens at expiry or at the send cap. A relay that rejects mail without alerting you is how small apps lose password resets.
Setup and deliverability basics
Whichever you choose, you do the same DNS work on your own domain. Send from a subdomain such as mail.example.com so your main domain's reputation stays separate from app mail.
; SPF: use the exact include value your vendor shows you
mail.example.com. TXT "v=spf1 include:vendor-spf-host.example ~all"
; DMARC: start in monitoring mode
_dmarc.mail.example.com. TXT "v=DMARC1; p=none; rua=mailto:dmarc@example.com"
Replace the SPF include with the value on your vendor's domain-authentication screen, and publish the DKIM records it gives you (usually CNAMEs or a TXT key). The SPF generator helps you merge includes without exceeding the 10-lookup limit, and how to set up SPF, DKIM, and DMARC covers the full process.
Authenticating with your own domain matters more to deliverability than which vendor you chose. Mail signed only by the vendor's domain leaves you with the shared reputation and none of your own.
Product shape: where they differ
Mailgun is built around the API. People cite clear event logs, inbound routing for receiving and parsing mail, and a developer-first feel. It is less oriented toward marketing campaigns, so newsletters usually mean another tool.
SendGrid pairs transactional sending with a separate marketing-campaigns product, which is convenient if one account should cover both. The trade-off is a bigger console and, in some user complaints, friction with support and account reviews. I cannot verify that last point, so weigh it lightly.
On the basics they tie: SMTP and REST sending, webhooks for delivered, bounced and complained events, and suppression of addresses that hard-bounce or complain. Wire those webhooks into your app and honor them; see email API and webhooks and suppression list management. If your app sends both transactional and marketing mail, read transactional vs marketing emails before putting them on one account.
Should you switch at all?
I would skip a migration if your only evidence is an old forum post. Switch if bounce text shows your assigned IPs are blocked or throttled, the vendor's support cannot or will not help, and your own list hygiene is already good. Also switch if a pricing change makes your current plan unaffordable; that is a legitimate reason on its own.
If you do move:
- Authenticate the new vendor on your sending domain while the old one still works. Both can sit in the same SPF record during the overlap, as long as you stay under 10 DNS lookups.
- Move the lowest-risk mail first (internal alerts), then a slice of real traffic.
- Ramp volume over days, not hours, since the new IPs have no history with your domain.
- Export your old suppression list and import it into the new vendor. Skipping this resends to people who already bounced or complained.
- Re-create your webhooks and check that your app handles the new vendor's event format.
- Watch bounce and complaint rates for two weeks before cutting over fully.
Checklist before you switch
- Bounce text shows a pool or IP problem, not a list problem
- Vendor support has been contacted with headers and timestamps
- The new vendor's pricing and limits were checked on its own page this week
- SPF, DKIM and DMARC are published for the new vendor
- Suppression list is exported and ready to import
- The old vendor stays active until the new one is stable
If nothing works
If deliverability stays bad after you have authenticated your domain, cleaned your list and ruled out your own bounce rate, contact the vendor's support (SendGrid or Mailgun, whichever you send through). Include the exact bounce text, the sending IP, UTC timestamps, the affected recipient provider, the full headers of one affected message, and what you already tried. Copy and fill in this message:
Subject: Deferrals from shared IP {sending-ip} to {recipient-provider}
Hello,
Since {date, UTC}, messages from {your-domain} sent through your service
are deferred or filtered at {recipient-provider}. Example bounce text:
{paste exact bounce text}
Sending IP: {ip}
Message ID: {id}
Timestamp (UTC): {time}
Authentication results from the message headers: {paste SPF, DKIM and DMARC results}
Bounce rate over the last 7 days: {x}%
Complaint rate over the last 7 days: {y}%
Already tried: {list cleaning, domain authentication, volume changes}
Can you confirm whether this IP is listed on a blocklist and whether
my account can be moved to a different pool?
Thank you
Common questions
Which is better for a very small app, SendGrid or Mailgun?
For app-only mail with API logs and inbound routing, Mailgun fits better; for one account covering transactional mail and campaigns, SendGrid fits better. Check current pricing for both before deciding.
Does a dedicated IP fix shared-IP problems?
It isolates you from other customers, but at low volume it may be too quiet to build reputation and needs warming. Many small apps do better on a shared pool with an authenticated domain.
Is there still a free plan on either vendor?
Do not assume so. Developers report that free plans were removed or cut back, so read each vendor's current pricing page.
Will switching vendors fix my spam-folder problem?
Only if the pool or IP is the cause. If list quality or content is the issue, the problem follows you to the new vendor.
Explore: Email Marketing Strategy
Related Articles
ACS Email retirement: alternatives for sending email from Azure
If you send from Azure through Azure Communication Services Email and it is being retired, you can move to SendGrid, Mailgun, Brevo, SocketLabs or Microsoft Graph. Keep the provider key in Key Vault, publish new DNS records before cutover, and shift traffic in stages while you watch bounces.
SendGrid free tier removed: free and cheap alternatives
If you send under 100 emails a day, Brevo's free plan (300 a day, per community threads) is the simplest SendGrid replacement. MailerSend, SMTP2GO and Resend also have free tiers; Amazon SES is cheapest at volume but takes more setup. Confirm each limit on the vendor's pricing page.
SES sandbox request denied: get production access or switch
If AWS denied your SES production access request with a vague "security reasons" reply, answer the same support case with specifics: where addresses come from, how bounces and complaints are handled, and how people opt out. If it is denied again, Mailgun, Postmark and Resend are the usual alternatives.
Hetzner mail all going to spam: alternatives with SMTP and Mailgun
If all mail from your Hetzner web package lands in spam, the shared IP's reputation is often the cause, and hundreds of mails from a small mail server rarely work even on a clean IP. Check the IP first, then move bulk and automated sending to a service such as Mailgun, Brevo, Amazon SES or Postmark.
Ready to supercharge your email marketing?
Start sending smarter emails with AI-powered campaigns. No credit card required.
Get Started Free