Self-hosted MTA vs SES, SendGrid and Mailgun

A hosted email API such as Amazon SES, SendGrid or Mailgun is quickest to start and cheapest at low volume. A self-hosted MTA such as TurboMTA has no per-email fee and gives you control of IPs and data, but you handle DNS, warm-up and monitoring. The right choice depends on volume, control and time.

See pricing Compare PowerMTA alternatives

The short version

  • Choose a hosted API when you want to start today, send low or spiky volume, and prefer someone else to manage IP reputation.
  • Choose a self-hosted MTA when your volume is high and steady, you want a flat cost, you need your own IPs and data on your own servers, or you run many sending domains.
  • Many teams use both: a hosted API as a fallback, and their own MTA for the bulk of the volume.

Side-by-side

TopicHosted API (SES, SendGrid, Mailgun)Self-hosted MTA (TurboMTA)
Pricing modelPer email or monthly volume tiers (SES has listed $0.10 per 1,000 emails)One-time licence per server plus your VPS cost; no per-email fee
Time to first emailMinutes to hours after verifying a domainA day or more: DNS, install, warm-up (free setup helps)
IP reputationShared or dedicated IPs managed by the providerYour own IPs; you build and protect the reputation
Deliverability controlLimited to provider toolsFull control of rate limits, routing and pools
Data and privacyMessage data passes through a third partyMessages stay on your servers
Sending limitsProvider quotas, review and throttlingYour hardware, IP reputation and host policy
Port 25 dependenceNone (you call an API or relay)Needs outbound port 25, or a relay
Best forLow or spiky volume, fastest startHigh steady volume, many domains, cost certainty

General comparison of the two models. Prices and limits of third-party services change often, so check their current pages. We are not affiliated with these services; names are trademarks of their owners.

Where each model wins

  • Hosted wins on speed, simplicity and cost at small volume.
  • Self-hosted wins on cost at large steady volume, control of routing, and data ownership.
  • Both depend on the same fundamentals: authenticated mail, a clean list and recipients who want your messages.

Keep reading

Frequently asked questions

Is a self-hosted email server cheaper than SES, SendGrid or Mailgun?

At low volume usually not: hosted services cost little until you send a lot. At high, steady volume a flat server cost plus a one-time licence can be far cheaper, because there is no per-email price. Independent write-ups put break-even somewhere between roughly 500,000 and 5 million emails a month; treat that as a rough guide.

What is the difference between an MTA, an SMTP server and an email service provider?

An MTA (mail transfer agent) is software that delivers mail between servers; an SMTP server is an MTA or relay that speaks the SMTP protocol. An email service provider (ESP) such as SES or SendGrid runs MTAs for you and charges per email. With TurboMTA you run the MTA yourself.