Mailgun charges $35-525/month depending on volume. At 50K+ emails/month, self-hosted SMTP on a $5-10 VPS saves $780-6,000/year. At lower volumes, AWS SES at $0.10/1,000 emails or downgrading your Mailgun plan may be enough. The switch makes sense when your monthly Mailgun bill exceeds $50.
Reduce Mailgun Costs: When Self-Hosting Makes Sense
Where Your Mailgun Money Goes
Mailgun pricing scales linearly with volume. That's the problem. At 10K/month, $35 feels reasonable. At 200K/month, $225 feels like a lot for SMTP relay.
Here's what you're paying for: Mailgun's shared/dedicated IP infrastructure, their deliverability team maintaining those IPs, the API, webhooks, analytics dashboard, and email validation. If you use all of these features, the price makes sense. If you're just pushing email through SMTP, you're overpaying.
Mailgun Cost at Every Volume
| Monthly Volume | Mailgun Plan | Monthly Cost | Annual Cost |
|---|---|---|---|
| 10,000 | Foundation | $35 | $420 |
| 50,000 | Foundation | $75 | $900 |
| 100,000 | Scale | $175 | $2,100 |
| 250,000 | Scale | $225 | $2,700 |
| 500,000 | Scale | $275 | $3,300 |
| 1,000,000 | Custom | ~$525 | ~$6,300 |
Option 1: Optimize Your Mailgun Plan
Before switching away, check if you're on the right plan:
- Remove unused features. Mailgun's Scale plan includes email validation credits, dedicated IPs, and priority support. If you don't use them, Foundation tier may be enough.
- Clean your list. Sending to invalid addresses wastes credits. Run your list through validation — a 10% reduction in sends saves 10% on your bill.
- Stop sending to unengaged contacts. If 30% of your list hasn't opened in 6 months, you're paying to hurt your own deliverability.
These changes alone can cut your bill 20-40%.
Option 2: Switch to AWS SES
If you need managed infrastructure but want lower cost, AWS SES charges $0.10 per 1,000 emails. No monthly minimum.
| Volume | Mailgun | AWS SES | Monthly Savings |
|---|---|---|---|
| 50,000 | $75 | $5 | $70 |
| 100,000 | $175 | $10 | $165 |
| 500,000 | $275 | $50 | $225 |
The tradeoff: SES is an API, not a product. No dashboard for non-technical users, no built-in templates, minimal analytics. You need developer time to integrate and manage it.
Practitioner note: For GoHighLevel agencies using Mailgun as their SMTP relay, switching to SES is straightforward — same SMTP credentials approach, just different host and port. The savings at 100K+/month easily justify the 30 minutes of setup.
Option 3: Self-Hosted SMTP
The biggest savings come from running your own mail server. Mailcow or Postal on a $5-10/month VPS handles 100K+ emails/month.
| Volume | Mailgun | Self-Hosted | Annual Savings |
|---|---|---|---|
| 50,000 | $75 | $5-10 | $780-$840 |
| 100,000 | $175 | $10 | $1,980 |
| 500,000 | $275 | $20 | $3,060 |
That's real money. At 500K/month, you save over $3,000/year.
The cost: your time. Budget 1-2 hours/month for maintenance, plus a week for initial setup and IP warmup. If your time is worth less than $150/hour, self-hosting saves money at 100K+/month.
Option 4: Hybrid — Keep Mailgun for Transactional Only
You don't have to go all-or-nothing. Keep Mailgun for low-volume transactional email (password resets, receipts) on their cheapest plan, and move high-volume marketing to self-hosted.
Transactional (5K/month) → Mailgun Foundation ($35/month)
Marketing (200K/month) → Self-hosted Mailcow ($10/month)
Total: $45/month vs $225/month on Mailgun alone
Practitioner note: Most agencies I work with are paying $75-175/month on Mailgun because that's what they set up initially and never revisited. A 30-minute cost audit usually reveals they can cut their bill in half without changing providers — just by cleaning their list and removing dead sends.
Migration Path
If you're moving off Mailgun:
- Set up the new infrastructure (SES account or self-hosted server)
- Configure DNS — SPF, DKIM, DMARC for the new sending source
- Warm the new IP — 2-4 weeks of gradually increasing volume
- Run in parallel — send from both Mailgun and the new system during warmup
- Switch over — update application SMTP settings once the new IP is warm
- Monitor for 2 weeks — watch deliverability metrics before canceling Mailgun
- Cancel Mailgun — or downgrade to the lowest plan for backup
Don't cancel Mailgun on day one. Run parallel for at least a month.
Practitioner note: The most common mistake: canceling Mailgun before the new IP is fully warmed. You go from established reputation on Mailgun to zero reputation on a new IP, and deliverability tanks. Always overlap.
If you want to reduce your email costs without risking deliverability during the transition, schedule a consultation — I handle Mailgun-to-self-hosted migrations for agencies and SaaS companies.
Sources
- Mailgun: Pricing
- AWS: SES Pricing
- Mailcow: Documentation
- Hetzner: Cloud Server Pricing
v1.0 · April 2026
Frequently Asked Questions
How much does Mailgun cost per month?
Mailgun Foundation starts at $35/month for 50K emails. Scale plan is $90/month for 100K. At 500K/month you're paying $275/month. Custom pricing above that. Plus $1.00 per 1,000 emails over your plan limit.
Is Mailgun worth the cost?
For low-volume senders who need a reliable API with good deliverability, yes. For high-volume senders (100K+/month), you're paying a premium for features you may not need. The Mailgun API is excellent, but SMTP relay is a commodity at scale.
What's cheaper than Mailgun?
AWS SES ($0.10/1,000 emails), self-hosted Mailcow ($5-20/month flat), Postal (free, self-hosted), or Elastic Email ($0.10/1,000). At 100K/month: Mailgun costs $175, SES costs $10, self-hosted costs $10.
Can I switch from Mailgun to self-hosted?
Yes. Deploy Mailcow or Postal on a VPS, configure DNS, warm the new IP, then update your application's SMTP settings. Plan 2-4 weeks for IP warmup before sending full volume. Keep Mailgun active during the transition.
Should I use Mailgun or SendGrid?
Mailgun has better developer experience and API. SendGrid has better marketing tools and template builder. For pure transactional sending, Mailgun's API is superior. For cost, both are expensive at scale — consider alternatives above 100K/month.
Want this handled for you?
Free 30-minute strategy call. Walk away with a plan either way.