MIGRATE

Migrate from Mailgun

47 seconds from key paste to first production send. Zero downtime, and a 30-day path back if you change your mind.

BEFORE YOU START✓ Your Mailgun API key✓ Access to your DNS records✓ Five minutes
STEP 01

Paste your Mailgun API key

wemail reads your Mailgun account and auto-imports templates, suppression lists and bounces. Nothing is changed on the Mailgun side. A test API key is yours immediately.

STEP 02

Change one line

The shim speaks Mailgun's wire format — keep your client, change the host.

SEND.TS · NODE
import Mailgun from "mailgun.js";
const mg = new Mailgun(FormData).client({
username: "api",
key: process.env.MAIL_KEY,
+ url: "https://api.wemail.io"
});
await mg.messages.create("acme.com", …);
STEP 03

Verify your domain & test send

Add the DNS records wemail generates, then fire a test send. Searchable logs and signed webhooks are live from your very first event — production unlocks once the sender is verified.

STEP 04

Cut over gradually

Weighted DNS shifts traffic 0% → 100% over 60 minutes while Mailgun and wemail run side by side. Watch both streams in the live activity feed. Downtime: 0ms.

STEP 05 — OPTIONAL

Roll back anytime

Mailgun stays warm for 30 days. If anything feels off, one API call moves DNS back in under a second — no support ticket, no waiting.

47s
avg migration
0ms
downtime
30d
warm fallback

What moves with you

✓ Templates — auto-imported✓ Suppression & bounce lists — intact✓ Webhooks — re-signed with Ed25519✓ Logs — 12-month retention starts at send one

Start the clock.

3,000 sends per month, forever. No credit card. Your Mailgun account stays untouched until you cut over.

Trusted by leading brands