Migrate to Mailaki
Step-by-step guides for moving your transactional email to Mailaki from another provider. Each one covers the DNS records, the endpoint and field mapping with before and after code, SMTP settings, templates, suppression lists, webhook events and a cutover checklist with a way back.
Guides
| Moving from | Routes | What the native rewrite is |
|---|---|---|
| Mailgun | Bridge and import tool | Swap the form-encoded Mailgun send for a JSON request, republish DNS, move bounces, unsubscribes and complaints. |
| SendGrid | Bridge and import tool | Flatten the personalizations structure into one JSON object, recreate dynamic templates, move bounces, spam reports and unsubscribes. |
| Postmark | Bridge and import tool | Rename the PascalCase fields, convert Mustachio templates to Handlebars, move the suppression dump of each message stream. |
| Brevo | Bridge and import tool | Rename the transactional email fields, convert params placeholders, move the blocked contacts list. |
| Mailjet | Bridge and import tool | Unwrap the Messages array, convert var: placeholders to Handlebars, rebuild your suppression list. |
| Amazon SES | Bridge; no import tool | Replace SigV4-signed SendEmail calls with a bearer-key JSON request, and SNS notifications with direct webhooks. |
| Resend | Bridge; no import tool | Add a domain_id, move reply_to into headers, render React emails to HTML, move your suppressions. |
Two ways to move
- Keep your client (the bridge). For Mailgun, SendGrid, Postmark, Brevo and Mailjet, Mailaki accepts the provider's own API format under
https://mailaki.com/bridge/<provider>. You change the base URL and the API key and keep your send code. The Mailgun bridge is the most complete: sending, events, suppressions, templates, webhooks in Mailgun's format and mailing lists. The other four cover sending and a few read endpoints, and deliver webhooks in Mailaki's format. Each guide lists what its bridge does not mirror. - Call the Mailaki API (the rewrite). You change the send call to
POST /v1/messages. Every guide has the field mapping and before and after code. For Amazon SES and Resend this is the only route today.
The import tool copies templates, suppression lists and domains out of Mailgun, SendGrid, Postmark, Brevo and Mailjet with an API key, and lists your team members so you can choose whom to invite (not for Postmark or Mailjet, which have no API for that). It does not read Amazon SES or Resend accounts; for those, templates are recreated and suppression lists are loaded from a file.
How a migration goes
The steps are the same whichever provider you are leaving:
- Import your account, where the import tool supports your provider, or export your suppression lists and templates by hand.
- Verify your domain in Mailaki by publishing its DNS records next to the ones you have. Both providers can sign mail for the same domain at once, so nothing stops working.
- Check your suppression lists and templates in Mailaki, so you do not mail people who bounced or unsubscribed.
- Change how you send, behind a setting that chooses the provider: the base URL and key of your existing client, or a rewritten send call.
- Rehearse with a test key, then run both side by side. Send a small share through Mailaki, watch bounces, and increase it in steps.
- Switch, and keep the old account for a while. Rolling back is flipping the setting.
What to expect
- A bridge is not the whole of the other provider's API. It mirrors what is listed in the guide and answers
404with a message for the rest. Only the Mailgun bridge delivers webhooks in the provider's format. - The import does not move everything. Webhooks, API keys, message history and statistics are not imported, and domains still have to be verified with Mailaki's DNS records.
- Mailaki is in public beta. Each guide ends with a list of what is different or missing, so you can decide before you start.
Comparing providers first? See Mailaki compared with other providers for prices and limits side by side.
Leaving a provider that is not listed? The steps above still apply, and the developer docs and API reference describe the Mailaki side. Email [email protected] and tell us which provider you are on.