Mailgun

Email API with strong inbound routing and address validation.

Works with AI agents:Built into Lovable
Ask your AI about this, with this page as the source:ChatGPT ↗Claude ↗Perplexity ↗

Mailgun, part of Sinch, is a hosted email service for sending, receiving and tracking the email your application sends, through an HTTP API or SMTP.

You add a sending domain and create it in either the US or the EU region; the API base URL differs (api.mailgun.net or api.eu.mailgun.net), and messages, logs, suppressions and routes stay in that region. Every new account also gets a sandbox subdomain of mailgun.org for testing, which can only send to authorized recipients. Incoming mail is handled by Routes: each route pairs a filter (match a recipient, match a header, or catch all) with actions (forward to an address or POST to your URL, store the message, or stop), evaluated in priority order. Official SDKs cover Node.js, Python, Ruby, PHP, Go and Java.

Useful for a small team: inbound messages are parsed for you, with quoted replies and signatures split out; optional spam filtering on incoming mail, with DKIM and SPF results; scheduled delivery; signed webhooks; and one account that manages domains in both the US and the EU.

The free plan is narrow: 100 emails a day, one custom domain, one inbound route, one user and one day of logs. Log retention stays short on lower paid plans (1 day on Basic, 5 on Foundation, 30 on Scale). A domain can receive mail at only one provider, so if Google Workspace already receives for your domain, use a subdomain for Mailgun.

Where it fits

Who uses it

47 makers' products, each linked to the source that shows it, and 11 open-source projects that declare it in their code.

The maker says so 29Subprocessor list 20Declared in code 11How evidence is collected →
ThankboxCelebrate someone special with a group card full of personal messages, images, videos &…

“Listed in their tool stack on Starter Story (email)”

Transactional EmailMaker says so +1 · source ↗
UXAudit.NowAudit, Benchmark, Optimize Your UX with Insights

“Email delivery we can actually rely on. Onboarding emails, waiting list notifications — all powered by Mailgun.”

Transactional EmailMaker says so +1 · source ↗
PDFShiftAn API to convert HTML/CSS documents to PDF. PDFShift is the reliable, Up-to-date and hi…

“Listed in their tool stack on Starter Story (email)”

Transactional EmailMaker says so · source ↗
Baboo TravelPlan custom tailor-made trips with local travel experts. Experience authentic, sustainab…

“Listed in their tool stack on Starter Story (trello email)”

Transactional EmailMaker says so · source ↗
InstatusStatus page and incident management tool for monitoring services and communicating outag…

“Listed in their tool stack on Starter Story (email)”

Transactional EmailMaker says so · source ↗
Tech LockdownLearn the best methods for blocking unwanted content on computers and smartphones

“MailGun is one of the best services I’ve ever used for Transactional email (like sending important emails related to a customer’s account).”

Transactional EmailMaker says so · source ↗
AmplooAll-in-one tool for SMEs: Optimize processes & connect teams

“Mailgun stands out for its robust email delivery infrastructure, high deliverability rates, and advanced analytics. It offers easy integration with powerful APIs, comprehensive email tracking, and excellent scalability, making it a reliable choice for developers and businesses.”

Transactional EmailMaker says so · source ↗
MailTockMailTock monitors transactional email sent through providers such as Mailgun, Mailchimp…

“Shoutout to Mailgun for their powerful email API, which integrates seamlessly with MailTock to keep your transactional emails on track.”

Transactional EmailMaker says so · source ↗
SocialBuPlan, schedule, respond, automate, and analyze social media across your connected accoun…

“- MailGun for transactional mail.”

Transactional EmailMaker says so · source ↗
ByteStandWelcome to ByteStand: discover three Shopify apps for shipping through MCF, FBA, syncing…

“Listed in their tool stack on Starter Story (email)”

Transactional EmailMaker says so · source ↗
Repurpose PieConvert your tweets to videos automatically. Grow your TikTok, YouTube and Instagram, on…

“Listed in their tool stack on Starter Story (email)”

Transactional EmailMaker says so · source ↗
WealthtenderFind and compare financial advisors with verified client reviews — fee-only, fiduciary,…

“Listed in their tool stack on Starter Story (an)”

Transactional EmailMaker says so · source ↗
GummySearchExplore any niche. Discover pain points, content opportunities, and what solutions peopl…

“I love using Plausible for analytics, LogSnag for event tracking, NewRelic for application monitoring, MailGun for emails, Render for hosting, Stripe for billing.”

Transactional EmailMaker says so · source ↗
crtrdgLaunch Your Game's Website In A Click

“The fastest and easiest way to start sending emails for a SaaS project.”

Transactional EmailMaker says so · source ↗
TextMagicSend timely updates and reminders, manage customer conversations, automate workflows, an…

“Besides the mentioned tools, we also use other popular instruments and platforms like Atlassian , GitHub , Mailgun , Zapier , and Zendesk .”

Transactional EmailMaker says so · source ↗

Open source: a project that declares Mailgun as a dependency in its public code — verifiable, but not necessarily a live product.

What makers say

14 makers on why they use Mailgun, in their own words on Product Hunt.

Mailgun stands out for its robust email delivery infrastructure, high deliverability rates, and advanced analytics. It offers easy integration with powerful APIs, comprehensive email tracking, and excellent scalability, making it a reliable choice for developers and businesses.
AmplooSep 2026 ↗
Common integrations include: ● Payment: Stripe , Paypal ● Newsletter Sending: Mailgun ● CRM: Salesforce ● Analytics: Google Analytics and Tag Manager ● Videos: YouTube, Vimeo…
TendenciApr 2022 ↗
I love using Plausible for analytics, LogSnag for event tracking, NewRelic for application monitoring, MailGun for emails, Render for hosting, Stripe for billing.
GummySearchAug 2022 ↗
MailGun is one of the best services I’ve ever used for Transactional email (like sending important emails related to a customer’s account).
Tech LockdownMay 2024 ↗
Besides the mentioned tools, we also use other popular instruments and platforms like Atlassian , GitHub , Mailgun , Zapier , and Zendesk .
TextMagicJun 2022 ↗

Loved and watch-outs

Themes that recur in makers' words and Hacker News comments, each linked to what it summarises, with how Product Hunt tags its reviews.

Most loved
  • Reliable transactional email that gets a SaaS sending within days or weeks of starting. PHStarter Story
  • The API is a cost-effective choice for transactional mail next to a separate marketing tool. Starter StoryPH
  • Works as an SMTP relay for self-hosted servers, with a free tier for low volumes. HNHN 2HN 3HN 4
Watch-outs
  • Shared sending IPs regularly land on Yahoo and Outlook blocklists, partly because spam also flows through its network. HNHN 2HN 3HN 4

Reliability and open issues

Incidents on its status page12 in the last 90 days, 5 major · 33 in the last yearFrom its own status page, 2026-10-02. Vendors decide what they post; one page can cover several products.

Who switches

Public pull requests on GitHub since Oct 2024 whose title says "X to Y" — real code changes moving a project from one tool to another, by developers in general. Open a row to see the pull requests.

SendGrid → Mailgun11 PRs
Mailgun → Resend3 PRs
Mailgun → SendGrid3 PRs

Alternatives to Mailgun

All alternatives by situation →

On Product Hunt, people weigh it against: Resend, Loops, Postmark, Plunk.

Questions makers ask about Mailgun

Can I keep my email data in the EU?

Yes. Domains created in the EU region keep their messages, event logs, suppressions and routes there; only account, billing, API key and domain-name data is replicated globally. source ↗

Can I use my domain with Mailgun and Google Workspace at the same time?

For sending, yes. For receiving, no, because only one server can take incoming mail for a domain; Mailgun suggests a subdomain for anything it should receive. source ↗

Can I test before setting up DNS?

Yes. Each account gets a sandbox subdomain of mailgun.org that works without DNS changes, but it can only send to recipients you've authorized. source ↗

How do I know a webhook really came from Mailgun?

Each POST it makes carries extra parameters you can use to verify its signature, as described in the webhooks documentation. source ↗

Is it SOC 2 or ISO 27001 certified?

Yes, Sinch Mailgun is SOC 2 Type II and ISO/IEC 27001 certified, and states GDPR compliance. Customer data is encrypted at rest with AES-256. source ↗

How long are sending logs kept?

One day on the Free and Basic plans, 5 days on Foundation and 30 days on Scale. source ↗

Do I need a dedicated IP?

Usually not when starting out. Mailgun suggests a shared IP below about 5,000 emails a day and a dedicated one above roughly 50,000 a week, because a dedicated IP needs steady volume to build a reputation. source ↗

Is Mailgun free?

Yes — there is a free tier a small product can run on; paid use starts at $15/mo. source ↗

Is Mailgun open source or self-hostable?

Not open source, and hosted only.

Can AI coding agents work with Mailgun?

Lovable set it up natively.

Who uses Mailgun?

47 makers' products we track, each with a source, and 11 open-source projects declare it in their code. source ↗