Migrate from Mailtrap to Reloop.
7 steps. Keep Mailtrap running until the last one, so nothing breaks while you switch.
- 1
Add your domain in Reloop
Add your domain in Reloop, publish the DKIM record (
reloop._domainkey) and mergeinclude:reloop.shinto your existing SPF record. Don't create a second SPF record. - 2
Swap the client
Replace
mailtrap.sendwithreloop.mail.send. Turn{ name, email }objects into"Name <email>"strings, and checkemailErrorinstead of catching. - 3
Move templates
Copy the HTML and change placeholders to triple braces:
{{{user_name}}}. Send by template ID instead oftemplate_uuid. - 4
Import your suppression list
Import your suppression list so you don't re-mail addresses that bounced or complained.
- 5
Point webhooks
Point webhooks at a new handler. Reloop events are
email.delivered,email.bounced,email.complainedand so on, signed in theReloop-Signatureheader. - 6
Keep the sandbox
Keep the sandbox for staging if you use it. Point staging SMTP at Mailtrap and production at
smtp.reloop.sh. - 7
Ramp traffic
Ramp traffic from 10% to 100% over a week or two, then remove Mailtrap's sending DNS records.
The SendGrid migration guide covers the same steps in more detail, including a traffic-split flag.