Before · Mailgun
// Mailgun
await mg.messages.create('yourdomain.com', {
from: 'hello@yourdomain.com',
to: 'user@example.com',
subject: 'Hello',
html: '<p>Hi</p>',
}); Migrate from Mailgun
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
Add SPF, DKIM, and DMARC in Xurel. Keep the old provider live until DNS propagates.
Install the Xurel client, map send fields, and dual-write in staging.
Point production sends and webhooks to Xurel. Monitor bounce and delivery dashboards.
Create an account, verify your domain, and send in minutes.