Mailgun alternative

A Mailgun alternative that keeps your code

Hermaily is an email sending service operated from Spain, with data and sending in the European Union. It accepts Mailgun's messages API on the same path and signs webhooks the way Mailgun does.

At 10,000 emails a month, Hermaily costs $6 (€5) and Mailgun $15; at 100,000, $33.50 (€29) against $75; at 1,000,000, $289 (€256.50) against $700. Monthly prices before tax; Mailgun's checked on 26 November 2026.

  • Accepts /v3/{domain}/messages
  • SMTP smtp.hermaily.com:587
  • Webhooks in Mailgun format

Who Mailgun is for

Mailgun, owned by Sinch, is a developer-oriented sending API with SMTP, templates, routes for inbound email, address validation and event logs. It offers an EU region, chosen when you create the account.

Why people look for a Mailgun alternative

  • Price at your volume. Mailgun publishes its overage, which is good, but at every volume in the table below the total is higher.
  • Data in the EU. Mailgun's EU region works, but it is a choice you make per account, and the company is in the United States. Hermaily is operated from Spain and every account sends from the EU, under a GDPR data processing agreement.
  • The free plan's limits. Mailgun's free plan allows one domain, one API key and one day of logs. Hermaily's Free plan keeps a week of history.

Mailgun and Hermaily prices by volume

Monthly cost of both services at the reference volumes we use on the pricing page:

Monthly cost before tax: Hermaily and Mailgun
Emails a monthHermailyHermaily planMailgunDifference
10,000$6 (€5)Starter$15Hermaily, $9 less
50,000$19.50 (€17)Growth$35Hermaily, $15.50 less
100,000$33.50 (€29)Business$75Hermaily, $41.50 less
250,000$79 (€69)Pro$215Hermaily, $136 less
500,000$149 (€131.50)Pro$400Hermaily, $251 less
1,000,000$289 (€256.50)Pro$700Hermaily, $411 less

Prices before tax. Hermaily: the cheapest plan that covers the volume, counting overage, with messages of up to 50 kB on average. Mailgun: prices checked on 26 November 2026 on its pricing page, cheapest monthly plan with no annual commitment that covers the volume, in its own currency (and the difference, in that currency). At every volume with a public price, Hermaily is cheaper than Mailgun. More providers and a calculator in Pricing.

Side by side

Hermaily and Mailgun side by side
HermailyMailgun
Company based in the EUYes (Spain)No (United States)
Free plan300 emails a month100 emails a day
Smallest paid plan$1.20 (€1) for 1,000 emails a month$15 for 10,000 emails a month
Extra emails on that plan$1.20 (€1) per 1,000$1.80 per 1,000
Ways to sendHTTP API and SMTPHTTP API and SMTP

Monthly prices before tax. Mailgun: figures from its pricing page, checked on 26 November 2026. Hermaily: its plan table.

Hermaily accepts Mailgun's request on /v3/{domain}/messages, with the same form fields and response, and sends webhooks signed like Mailgun's. You keep mailgun.js, mailgun-php or the Python SDK and change the base URL and the key.

When Mailgun is the better choice

Hermaily is not the right answer for everyone. Mailgun fits better if:

  • You send little and want the biggest free allowance: Mailgun's free plan is bigger than Hermaily's.
  • You use Mailgun templates, scheduled delivery, test mode, batch sending with recipient variables, routes for inbound email or address validation. Hermaily has none of them in its API.
  • Your code reads events, stats or mailing lists through Mailgun's API. In Hermaily they live in the dashboard.

How to switch

The step-by-step guide to migrate from Mailgun has the code before and after for each language, the field and webhook event equivalents and what is not supported. In short: verify your domain, create an API key, create the webhook in Mailgun format and change the base URL. You can move part of your traffic first and the rest later.

Other alternatives

Comparing more than one? There is a page like this one for each provider, and a summary with all of them on Alternatives:

Frequently asked questions

Is Hermaily cheaper than Mailgun?

Yes, at every volume in the table on this page, from 10,000 to 1,000,000 emails a month. The table shows both prices before tax and the date we checked Mailgun's.

Can I keep my Mailgun code?

Yes. Hermaily accepts Mailgun's messages request on the same path. With Mailgun's official library you change only the base URL and the API key, and your webhook receiver keeps checking the signature the same way.

Is Mailgun's free plan better?

For very small senders, yes: it allows more emails than Hermaily's Free plan (300 a month), with one domain and one day of logs.

What does Mailgun do that Hermaily does not?

Templates, scheduled delivery, test mode, recipient variables in batch sends, inbound routes and address validation. Hermaily sends the HTML you give it and keeps suppressions, stats and lists in its dashboard.

Where does Hermaily process my data?

In the European Union, for every account, under a GDPR data processing agreement. Hermaily is operated from Spain.

Try Hermaily instead of Mailgun

Create the account, verify your domain and send your first email. The Free plan includes 300 emails a month.

Create a free account Read the Mailgun migration guide