> ## Site index
> Every page on this site is listed at https://mailkube.com/llms.txt.

> ## Agent instructions
> This site presents mailkube, a service that sends transactional email over a REST API or SMTP.
> Customer data is stored in the European Union.
> Read the developer documentation at https://docs.mailkube.com, which publishes its own llms.txt.
> Take prices and plan volumes from https://mailkube.com/pricing.md, never from a comparison page or a blog post.
> Read the legal documents at their HTML address.
> Every published version of the terms, privacy policy and data processing addendum is kept byte for byte under /legal/<document>/<sha256>/.
> Quote the checked-on date that a comparison page prints with its competitor figures.
> When this site does not state a price, limit or capability, say so instead of guessing.

# The cheaper alternative to Mailgun

> A Mailgun alternative that costs less at every volume, keeps logs for up to 90 days, and includes dedicated IPs with the plan.

Source: https://mailkube.com/vs/mailgun-alternative/

Send over REST or SMTP for less than Mailgun asks at every volume on this page. Logs stay for up to 90 days, and dedicated IPs come with the plan.


## What you pay

Both platforms price by monthly volume. The table takes eight volumes. Each row shows the cheapest plan on each side, in your region's currency.

| Emails a month | mailkube | Mailgun | Saving with mailkube |
|---|---|---|---|
| 3,000 | **Free** $0 | **Free** $0 | 1,000 more free emails a month |
| 10,000 | **Launch** $7 | **Basic** $15 | $8 |
| 50,000 | **Momentum** $13 | **Foundation** $35 | $22 |
| 100,000 | **Elite** $27 | **Foundation** $75 | $48 |
| 250,000 | **Ultimate** $129 (1 dedicated IP included) | **Scale** $215 (1 dedicated IP included) | $86 |
| 500,000 | **Scale** $249 (2 dedicated IPs included) | **Scale** $459 (1 dedicated IP included) (1 dedicated IP added at $59) | $210 |
| 750,000 | **Volume** $369 (2 dedicated IPs included) | **Scale** $609 (1 dedicated IP included) (1 dedicated IP added at $59) | $240 |
| 1,000,000 | **Enterprise** $489 (4 dedicated IPs included) | **Scale** $877 (1 dedicated IP included) (3 dedicated IPs added at $59 each) | $388 |


Dedicated IPs are included from the Ultimate plan. Ultimate carries one at 250,000 emails a month, and Enterprise carries four at 1,000,000. Each new one warms on a six-stage ladder, from 50 messages a day to 10,000. Mailgun includes one from its Foundation plan at that same volume, and sells further IPs at $59 a month each.

## Feature by feature

The rows below hold what each platform documents today. A docs link opens the mailkube page behind that row.

| Feature | mailkube | Mailgun | Docs |
|---|---|---|---|
| Where account data is stored | European Union | European Union or United States |  |
| Free plan | 4,000 a month, 140 a day | 100 a day |  |
| Log retention | 7 to 90 days by plan | 1 to 30 days by plan | [Docs](https://docs.mailkube.com/docs/limits) |
| Dedicated IPs | Included from Ultimate | Included from Foundation | [Docs](https://docs.mailkube.com/docs/dedicated-ip) |
| Sending domains | Unlimited | 1 / 1,000 | [Docs](https://docs.mailkube.com/docs/domains) |
| Tags per message | 20 | 3 | [Docs](https://docs.mailkube.com/docs/tags) |
| Per-topic opt-out on a send | Yes | Not documented | [Docs](https://docs.mailkube.com/docs/topics) |
| Outbound body and link scan | Yes | Not documented |  |
| Idempotency keys | Yes | No | [Docs](https://docs.mailkube.com/api-reference/idempotency) |
| REST API | Yes | Yes | [Docs](https://docs.mailkube.com/docs/send/rest-api) |
| SMTP relay | Yes | Yes | [Docs](https://docs.mailkube.com/docs/send/smtp) |
| Stored templates, versioned | Yes | Yes | [Docs](https://docs.mailkube.com/smtp-reference/templates) |
| Scheduled sending | Included from Launch | Yes | [Docs](https://docs.mailkube.com/docs/scheduled-emails) |
| Webhook signing | HMAC | HMAC |  |
| Official SDKs | Node, Python, Go, Java, PHP, Ruby | Node, Python, Go, Java, PHP, Ruby | [Docs](https://docs.mailkube.com/sdks) |
| Framework packages | Django, Laravel, Rails, Spring Boot | No | [Docs](https://docs.mailkube.com/sdks) |
| CLI | Yes | No | [Docs](https://docs.mailkube.com/cli) |

"Not documented" means the public Mailgun documentation does not describe it. Checked on October 16, 2026.

Log retention is where the two part company. Your plan keeps 7 days on Free and 90 days on Volume, so a support question from last month still has an answer. Mailgun keeps one day on its two cheapest plans, five days on Foundation and 30 days on Scale.

## Where your data lives

Customer data is stored in the European Union. Our infrastructure runs in European data centres, in the French OVHcloud group.

Mailgun sells a European region as well, and the messages you send through it stay there. mailkube runs one region, and every account is in it.

The detail is in the [data processing agreement](/legal/dpa/).

## Two transports, headers included

POST to the REST API, or point the SMTP client you already run at `smtp.mailkube.com`. Everything the API takes as a JSON field, SMTP takes as a header. Those headers are stripped before the message reaches the recipient.

- `X-Mailkube-Tags` carries the same tag list as the REST `tags` field
- `X-Mailkube-Topic` attributes the send to a topic, so recipients who opted out are filtered
- `X-Mailkube-Template-Id` and `X-Mailkube-Template-Version` render a saved template server-side

An SMTP send is the same message as an API send. It lands in the same logs, counts against the same quota and fires the same webhook events. The [SMTP reference](https://docs.mailkube.com/smtp-reference/overview) lists every header, reply code and rate limit.

Mailgun relays SMTP on `smtp.mailgun.org` and documents headers of its own for a tag, a template and a template version. A message there carries up to 3 tags, against 20 here, and its documentation describes no per-topic opt-out on a send.

## Your stack, already covered

Official SDKs cover Node, Python, Go, Java, PHP and Ruby, the same six languages Mailgun's own clients cover.

Django, Laravel, Rails and Spring Boot each get a package of their own. It plugs into the framework's own mail layer. Every client verifies your webhook signatures for you.

The CLI is one binary. It sends over either transport and manages scheduled sends. While you develop, it runs a local webhook receiver. It ships a skill file, so a coding assistant reads the real command surface. Start from the [SDK documentation](https://docs.mailkube.com/sdks) or the [CLI guide](https://docs.mailkube.com/cli).

## Migrating from Mailgun

Install the client for your language, then swap the constructor and the key. The send call keeps its shape, and the domain argument drops out of it.

**Mailgun**

```ts
import FormData from "form-data";
import Mailgun from "mailgun.js";

const mailgun = new Mailgun(FormData);
const mg = mailgun.client({
  username: "api",
  key: process.env.MAILGUN_API_KEY,
});

const message = await mg.messages.create("example.com", {
  from: "Acme <hello@example.com>",
  to: ["customer@example.com"],
  subject: "Hello world",
  html: "<p>It works!</p>",
});
```

**mailkube**

```ts
import { Mailkube } from "@mailkube/mailkube-node";

const client = new Mailkube({ apiKey: process.env.MAILKUBE_API_KEY });

const email = await client.emails.send({
  from: "Acme <hello@example.com>",
  to: "customer@example.com",
  subject: "Hello world",
  html: "<p>It works!</p>",
});
```

| | Mailgun | mailkube |
|---|---|---|
| Host | smtp.mailgun.org | smtp.mailkube.com |
| Port | 587 | 587 |

Migration is frictionless over SMTP as well. Change the host, the port and the credential in your mailer, and keep everything else as it is. The messages you already send go out unchanged, and tags, topics and templates ride along as headers when you want them. Nothing has to move on a set day: run both platforms side by side and switch one service at a time. The [quickstart](https://docs.mailkube.com/docs/quickstart) covers the REST path and the [SMTP guide](https://docs.mailkube.com/docs/send/smtp) covers the relay.

## When Mailgun is the better fit

Mailgun sells address validation beside the relay, and an inbox-placement product on top of it. mailkube sends your application's mail and tells you what happened to it.

Its plans also carry mailing lists and send-time optimisation per message. Those answer a different job than this platform does.

The [pricing page](/pricing/) has every plan in full. The [REST API](/features/api/) and [SMTP relay](/features/smtp/) pages go deeper on the two transports.


## Frequently asked questions

### How much cheaper is it than Mailgun?

At every volume in the table above. The Free plan carries 4,000 emails a month against 100 a day, and from 100,000 emails a month the saving runs from $48 to $388, dedicated IPs matched on both sides.

### Can I keep my SMTP configuration?

Yes. Point your mailer at smtp.mailkube.com on port 587 with a credential bound to your verified domain. Tags, topics and templates then travel as X-Mailkube headers on the message you already send.

### How long are my logs kept?

From 7 days on the Free plan to 90 days on Volume. Mailgun keeps one day on its Free and Basic plans, five days on Foundation and 30 on Scale.

### What happens when I reach my monthly limit?

Sending pauses. You receive an alert before that happens, and an upgrade restores sending at once. There is no overage charge on any plan.

### Do I need a dedicated IP?

Most senders do well on the shared pool. Dedicated IPs are included from the Ultimate plan, one at 250,000 emails a month and four at 1,000,000. Each new one is warmed for you on a six-stage ladder.

### Where do the Mailgun figures come from?

From the public pricing page and documentation on mailgun.com. The date under the feature table is the day they were last read. A change on their side moves that date.

