The build-vs-buy decision for email infrastructure comes down to a cost-benefit analysis that shifts dramatically with volume. At 100,000 emails/month, a managed ESP is almost always cheaper when engineering time is included. At 10 million/month, the economics often favour self-hosted infrastructure. Understanding where the break-even lies for your specific volume, sending pattern, and team capabilities determines which approach is financially sound.

$0.10/1K
typical ESP cost for mid-volume senders (Mailgun/Postmark)
$0.001/msg
Amazon SES cost — cheapest at scale but no deliverability tools
Self-hosted
MTA break-even vs ESP typically at 2-5M messages/month
3x-10x
cost reduction possible moving from ESP to self-hosted at scale

Monthly Email Infrastructure Cost — ESP vs Self-Hosted MTA by Volume (USD)

875175026253500100K500K1M2M4M8M15MMailgun pay-as-goAmazon SESSelf-hosted fixed

Cost Structure: Self-Hosted vs Managed

The fundamental difference in cost structure:

Self-hosted MTA (PowerMTA, KumoMTA, Postfix) has predominantly fixed costs that don't scale linearly with volume — server hardware or VPS, IP addresses, software licensing if applicable, and engineering time. The marginal cost of sending one additional email approaches zero once infrastructure is provisioned.

Managed ESP (SendGrid, AWS SES, Mailgun, Postmark) has predominantly variable costs that scale directly with volume. Cost per email decreases with volume through tier pricing, but the marginal cost never reaches zero. Engineering time is lower — the ESP handles infrastructure, deliverability relationships, and compliance — but you pay for that labour in the per-email fee.

Self-Hosted MTA Cost Breakdown

One-time and setup costs

  • Server hardware or dedicated VPS: $200–$800/month depending on specs (see capacity table in PowerMTA guide)
  • IP addresses: $1–$3/IP/month from most data centres; $2–$10/IP from cloud providers
  • PowerMTA license: $8,000–$15,000/year for typical production license. KumoMTA and Postfix are free.
  • Initial setup engineering: 40–120 hours of senior engineer time (MTA configuration, DKIM, SPF, monitoring, IP warming)

Ongoing monthly costs

Volume tierServerIPs (5)MTA license (pro-rated)Engineering (hrs/mo)Total/month
1M emails/month$300$15$700 (PowerMTA) / $0 (Postfix)5hrs @ $150 = $750~$1,765
10M emails/month$600$30$1,20010hrs = $1,500~$3,330
100M emails/month$2,000 (cluster)$150$3,00040hrs = $6,000~$11,150

Engineering hours are typically the largest variable. This assumes an experienced email infrastructure engineer at $150/hour (or equivalent fully-loaded salary cost). Junior engineers require significantly more time for the same output and make more configuration errors.

SolutionCost/1K msgsBest forHidden costsDeliverability tools
Mailgun$0.80-$1.00Transactional < 1M/moDedicated IP +$59/moLogs, bounce tracking, basic
Amazon SES$0.10Scale > 1M/moEC2 for feedback loops, config setsMinimal — DIY everything
Postmark$1.25-$1.50Transactional SLAsStreams per message typeExcellent — best-in-class
SendGrid$0.40-$0.89Marketing + transactional mixIP warmup, premium support tiersGood analytics, IP management
Self-hosted PowerMTAInfra only ~$0.01-$0.05> 5M messages/monthLicense $8K-$15K/yr + opsFull control — build your own
Self-hosted KumoMTAInfra only ~$0.01> 2M messages/monthEngineering time + server costsFull control, open-source

Managed ESP Pricing at Volume

2025 pricing from major ESPs (pricing tiers change frequently; verify current pricing before decisions):

ESP100K/month1M/month10M/monthPer-email at 10M
AWS SES~$10~$100~$1,000$0.0001
SendGrid (Marketing)~$95~$500~$3,000$0.0003
Mailgun~$100~$700~$4,500$0.00045
Postmark (transactional)~$74~$495~$2,700$0.00027
SparkPost~$75~$450~$2,500$0.00025

AWS SES is the clear cost leader for raw per-email cost. The trade-off: significantly more engineering work to configure compared to full-service ESPs, limited deliverability tooling out of the box, and minimal support.

Break-Even Analysis: When Self-Hosted Becomes Cheaper

The break-even point depends on your ESP pricing, your engineering cost rate, and whether you're using PowerMTA (licensed) or Postfix/KumoMTA (free):

Self-hosted softwareBreak-even volume vs SendGridBreak-even vs AWS SES
Postfix (free)~3–5M emails/month~20–50M emails/month
KumoMTA (free)~3–5M emails/month~20–50M emails/month
PowerMTA (licensed)~8–15M emails/monthBreak-even unlikely before 100M+

These are rough estimates that assume 8–10 engineering hours/month for ongoing self-hosted operations at $150/hour. If your team's effective rate is lower (in-house junior engineers) or your ESP has negotiated volume pricing, the break-even shifts accordingly.

AWS SES changes the calculus fundamentally: At $0.10 per 1,000 emails, SES is so inexpensive that self-hosted only becomes economically superior at very high volumes (20M+/month) — and even then, only when engineering costs are low and the team has strong MTA expertise. For most organisations, SES with some deliverability tooling is more cost-effective than self-hosted below 50M/month.

Hidden Costs in Both Models

Self-hosted hidden costs

  • Incident response: When IP reputation degrades or a blacklisting occurs, engineer time to diagnose and remediate — often at high urgency. Budget 20–40 hours/year for medium-volume operations.
  • IP warm-up opportunity cost: New IPs require 4–8 weeks of constrained sending. During this period, deliverability is reduced and campaigns may need to be split across warm and cold IPs.
  • Postmaster relationship management: Getting off Spamhaus, resolving Microsoft blocks, or engaging with ISP postmaster teams is time-intensive. Can't be delegated to junior staff.
  • Monitoring infrastructure: Building and maintaining dashboards, alerts, and log processing for a self-hosted MTA requires investment in tooling.

Managed ESP hidden costs

  • Overage fees: Most ESPs have volume tiers with overage pricing (often 20–50% higher than the base tier rate) for months where you exceed your plan's included volume.
  • Feature tiers: Advanced deliverability features (dedicated IPs, IP warming support, seed list testing, DMARC reporting) often require higher plan tiers that significantly increase monthly cost.
  • Migration risk: Changing ESPs requires re-warming IPs, rebuilding integration points, migrating suppression lists, and recreating templates. Budget 2–4 weeks of engineering time for a non-trivial migration.

Hybrid Architecture: The Practical Middle Ground

Many high-volume senders use a hybrid model that combines the cost advantages of self-hosted infrastructure for predictable high-volume sends with managed ESPs for specific use cases:

  • Transactional email (time-critical): Managed ESP like Postmark or AWS SES — reliability, speed, and no queue management
  • High-volume marketing campaigns (predictable volume): Self-hosted MTA — lowest per-email cost at scale
  • Cold outreach (reputation-sensitive): Separate managed ESP or dedicated infrastructure with separate sending domains — complete reputation isolation
  • Overflow/burst capacity: Managed ESP for volume spikes that exceed self-hosted capacity

This hybrid approach optimises for both cost and operational simplicity: the high-volume predictable workload runs on lower-cost self-hosted, while the time-sensitive and reputation-critical workloads use managed services' reliability guarantees.