Mailgun

mailgun.comcontributed by Samuele Ongaro

KEEP IT

The value is the network, the data or the infrastructure. Keep paying.

Transactional email infrastructure: an API and SMTP relay for the mail your application sends, with routing, validation, logs and deliverability tooling.

Promptfree, for everyone, and the only version there is
Do not build this. Relationships with inbox providers are the product, and there is no substitute.

Running your own mail server to send application email means a clean address, reverse DNS, warmed reputation, feedback loops with each large provider, and constant attention. Do it badly and password resets stop arriving, which is an outage you cannot see from your own side.

WHAT TO DO INSTEAD
- Keep a relay. Compare providers on price at your volume — they differ by a lot — and on whether they give you the bounce and complaint feedback you need
- Never send application mail from your own server for the sake of it. This is one of the few places where self-hosting is straightforwardly worse

WHAT YOU MUST DO REGARDLESS, AND MOST PEOPLE DO NOT
- **SPF, DKIM and DMARC** on your sending domain, with DMARC actually enforcing rather than sitting at none. Read the aggregate reports; they tell you who is sending as you
- **A separate subdomain for transactional and marketing mail.** A password reset that fails because a campaign got complaints is a support disaster, and sharing a domain is how that happens
- Warm a new domain slowly: hundreds, doubling over weeks
- Consume bounces and complaints and act on them: a hard bounce suppresses immediately, a complaint suppresses permanently and is never mailed again
- One-click unsubscribe and the List-Unsubscribe headers on anything bulk, which the large providers now effectively require
- Watch the complaint rate daily. Above a fraction of a percent an account gets suspended, and that is the failure that ends everything

WHAT TO BUILD
- **A local mail catcher for development**, so nothing reaches a real person by accident and nobody needs a provider account to work. That is under Mailtrap elsewhere in this catalogue, it is a weekend, and it removes a whole class of embarrassing mistakes
- A thin sending module in your own code: one delivery row per recipient per message, written before sending, idempotent, with the provider's message id recorded. That makes a resume exact and lets you change provider by rewriting one file

THE ONE-LINE VERSION
Rent the relay, always. Build the development catcher and a sending layer thin enough to swap.

What you lose

  • IP reputation and the feedback loops with Gmail, Outlook and Yahoo that decide whether your mail is delivered at all
  • Message logs and a searchable event history for every send, which is what you need when a customer says they never got it
  • Inbound routing, address validation and a suppression list maintained for you

If you would rather not build

  • Amazon SES, usually the cheapest at volume
  • Postmark, for transactional deliverability
  • Resend, for a modern API over the same job

What it costs

read from their page 15 Aug 2026

PlanBilled monthlyBilled yearlyLast read
—$15/mo—15 Aug 2026

Their pricing page is where these came from. Seeing a different price? Tell us.

The escape hatch

open source · no votes, no paid placement

Postal

$0

A self-hosted mail platform — only sensible if you already run mail infrastructure.

postalserver/postalfree · open source

Nodemailer

$0

The transport layer, so switching provider is a config change.

nodemailer/nodemailerfree · open source

Why this verdict

our own opinion · changed only by a person

20/100

Verdict no at 20. Sending mail yourself is the classic mistake. The useful move is owning the log and the suppression list so switching provider is an afternoon.

History

tracked since 10 Aug 2026 · nothing is ever overwritten

Interest · last 30 dayspeak 2/day
views01230 Aug4 Sept9 Sept14 Sept19 Sept24 Sept28 Sept
— views— prompt copies none yet— votes none yet

Questions about Mailgun

answered from the record above

Is Mailgun free?

No — the plan we track is $15 a month. Basic from around $15/month billed monthly for 10,000 emails; higher volumes and dedicated IPs cost more.

Can you replace Mailgun by building your own?

KEEP IT. The value is the network, the data or the infrastructure. Keep paying. Replacement score 20 out of 100, build time longer than it saves. Read what you lose before you decide.

How much does Mailgun cost?

$15 a month on Basic — $180 a year. Recorded 9 Aug 2026.

What do you lose by replacing Mailgun?

IP reputation and the feedback loops with Gmail, Outlook and Yahoo that decide whether your mail is delivered at all; Message logs and a searchable event history for every send, which is what you need when a customer says they never got it; Inbound routing, address validation and a suppression list maintained for you. If any of those carry weight for you, keep paying.

Is there an open-source alternative to Mailgun?

Yes: Postal, Nodemailer. The prompt on this page is for when you want it your way instead.

Related entries

same category first, most replaced first

All 33 in Email & newsletters

Not sending yet

Every week, something stops being worth paying for.

New verdicts, prices that moved, entries added. One email a week. Unsubscribe in one click. Nothing is being sent yet — your address is kept here, and the first issue is the first thing it is used for.

free forever · no tracking pixel · stored here, never passed to anyone

Esc