Mailgun
Hosted email API and SMTP relay with inbound routing, templates and US/EU domains
Managed API, SMTP relay. Not claimed by the vendor.
Last updated 1 Nov 2026. How we check facts
We gathered these facts from the vendors' own pages with AI assistance, and a person has not checked them all yet. Confirm anything important with the vendor, and tell us if you spot a mistake.
Mailgun is a hosted email service that sends mail through an HTTP API or SMTP and can receive and route inbound mail. Domains can be created in a US or EU region, and the vendor offers dedicated IPs and IP pools on accounts that enable them.
A reasonable fit for
- Teams that want to choose a US or EU region per domain
- Applications that need to route inbound mail and use stored templates
What it documents well
- Official SDKs cover six languages: Go, Node.js, PHP, Java, Ruby and Python. Source
- A test mode parameter processes messages normally without delivering them to recipients. Source
- Stored templates can be kept at domain or account level, with multiple versions per template. Source
- Domains can be created as US or EU based, with separate regional API and SMTP hostnames. Source
Limits to know about
- The free plan does not allow creating a custom sending domain. Source
- Adding a dedicated IP requires a payment method on the account. Source
- Free plan is capped at 100 emails per day and has 1 day log retention and one inbound route. Source
- Gmail does not provide complaint data, so complaint events do not cover Gmail recipients. Source
Facts and sources
- Yes
- The source supports this.
- Limited
- Available with a condition, shown beside it.
- No
- The vendor says it is not available.
- Not verified
- We could not confirm it. This does not mean no.
| Mailgun | |
|---|---|
| Sending | |
| HTTP APISend email through an HTTP API. | Yes POST to /v3/{domain}/messages with US or EU base URL and basic auth. Vendor documented, as of 1 Nov 2026 |
| SMTPSend email through SMTP. | Yes SMTP relay available with per-domain credentials; smtp.mailgun.org (US) and smtp.eu.mailgun.org (EU) per docs overview. Vendor documented, as of 1 Nov 2026 |
| Official SDKsClient libraries maintained by the vendor. | |
| Hosting | |
| Vendor-run serviceThe vendor operates the service for you. | Yes Vendor-run email API and SMTP service for sending, receiving and tracking. Vendor documented, as of 1 Nov 2026 |
| Self-hostingYou can run the product on your own infrastructure. | Not verified |
| Open sourceSource code is published under an open source licence. | Not verified |
| Needs your own Amazon SES accountDelivery depends on an Amazon SES or AWS account that you own. Here, No is usually the simpler answer. | No Docs describe Mailgun-managed dedicated IPs and IP pools, i.e. its own sending infrastructure. Vendor documented, as of 1 Nov 2026 |
| Events and inbound | |
| Event webhooksDelivery, bounce or complaint events sent to a URL you choose. | Yes HTTP(S) POST with JSON to your endpoint on events such as delivered, failed and complained; account or domain level. Vendor documented, as of 1 Nov 2026 |
| Inbound emailReceive and process incoming mail. | Yes Routes match incoming messages with filters and forward to a URL or address, or store them temporarily. Free plan lists 1 inbound route; Basic lists 5 Vendor documented, as of 1 Nov 2026 |
| Suppression managementHandling of bounced, complained and unsubscribed addresses. | Yes Hard bounces, unsubscribes and complaints are suppressed; lists are viewable and editable by API and control panel. Vendor documented, as of 1 Nov 2026 |
| Content | |
| Stored templatesTemplates stored and rendered by the service. | Yes Predefined templates stored and rendered on send, with versions, via API or builder. Pricing page lists the template builder and API from the Foundation plan up Vendor documented, as of 1 Nov 2026 |
| Marketing or broadcast sendingMarketing or bulk sending in the same product. | Not verified |
| Testing | |
| Test modeA sandbox or test mode that exercises the API without delivering to real recipients. | Yes o:testmode=yes processes messages normally without delivering them. Vendor documented, as of 1 Nov 2026 |
| Authentication | |
| Domain authenticationCustom sending domains authenticated with SPF or DKIM. | Yes Custom domains with SPF and DKIM authentication are supported; free accounts cannot add a custom domain. Custom domain not available on the free plan Vendor documented, as of 1 Nov 2026 |
| DMARC monitoringDMARC reports or monitoring offered by the product. | Limited A DMARC Reports API under Mailgun Optimize returns DMARC DNS records and report data; it links to a Redsift referral. The docs we read do not say which plan includes this. Vendor documented, as of 1 Nov 2026 |
| Delivery control | |
| Dedicated IPA dedicated sending IP option. | Limited Dedicated IPs can be added in IP Management and grouped into pools; a payment method is required. DIPP pools need the feature enabled; pricing page did not list dedicated IP by plan Vendor documented, as of 1 Nov 2026 Due for a re-check. |
| Region | |
| EU region or data locationA documented EU sending region or data location. Read the detail, because these are different promises. | Yes US or EU based domains with separate API, SMTP and inbound MX hostnames; documented as a region choice for domains. Vendor documented, as of 1 Nov 2026 |
| Pricing model | |
| Ongoing free planA continuing free plan with a sending allowance. A time-limited trial is Limited. | Limited Ongoing Free plan at $0 with a daily cap, but without custom domains. 100 emails per day; no custom domain on free accounts Vendor documented, as of 1 Nov 2026 Due for a re-check. |
| Usage-based billingBilled by usage without a fixed monthly plan. | Not verified |
Pricing
4 plans are hidden because the price was last checked on 1 Nov 2026 and is due for a re-check.
Comparisons
- Twilio SendGrid vs MailgunTransactional email
Sources (12)
- DMARC Reports API Retrieved 1 Nov 2026
- FAQ: Getting Started / Settings Retrieved 1 Nov 2026
- Getting started sending email Retrieved 1 Nov 2026
- IP Pools Retrieved 1 Nov 2026
- Messages API Retrieved 1 Nov 2026
- Routes Retrieved 1 Nov 2026
- SDK introduction Retrieved 1 Nov 2026
- Templates Retrieved 1 Nov 2026
- Tracking messages introduction Retrieved 1 Nov 2026
- Webhooks Retrieved 1 Nov 2026
- Mailgun home Retrieved 1 Nov 2026
- Mailgun pricing Retrieved 1 Nov 2026
No vendor pays to appear on this page, and these links earn LaunchMic nothing. Disclosures