Migrate from Mailgun

Move your API and domains.

Bring domains and routes over — inbound becomes webhook payloads.

Note: Domains + routes map to Xurel inbound webhooks.

Before · Mailgun

// Mailgun
await mg.messages.create('yourdomain.com', {
  from: 'hello@yourdomain.com',
  to: 'user@example.com',
  subject: 'Hello',
  html: '<p>Hi</p>',
});

After · Xurel

// Xurel
await xurel.emails.send({
  from: 'hello@yourdomain.com',
  to: 'user@example.com',
  subject: 'Hello',
  html: '<p>Hi</p>',
});

Steps

Suggested cutover

1. Verify domain

Add SPF, DKIM, and DMARC in Xurel. Keep the old provider live until DNS propagates.

2. Swap the SDK

Install the Xurel client, map send fields, and dual-write in staging.

3. Cut traffic

Point production sends and webhooks to Xurel. Monitor bounce and delivery dashboards.

Ship your first email today.

Create an account, verify your domain, and send in minutes.