Migrate from ZeptoMail to Reloop.
6 steps. Keep ZeptoMail running until the last one, so nothing breaks while you switch.
- 1
Add your domain in Reloop
Add your domain in Reloop and publish the DKIM record (
reloop._domainkey). Mergeinclude:reloop.shinto your existing SPF record; don't add a second one. - 2
Swap the client
Replace
client.sendMailwithreloop.mail.send. Flatten recipients from{ email_address: { address } }to plain strings, and renamehtmlbody→html,textbody→text. - 3
Move templates
Recreate them in Reloop and change placeholders to triple braces:
{{{user_name}}}. Values you passed inmerge_infobecome template variables. - 4
Map Mail Agents
Use separate domains or API keys where you had separate agents.
- 5
Point webhooks
Point webhooks at a new handler. Reloop events are
email.delivered,email.bounced,email.complainedand so on, signed with HMAC-SHA256 in theReloop-Signatureheader. - 6
Ramp traffic
Ramp traffic from 10% to 100% over a week or two. Use up remaining credits first if they're close to expiring.
Our SendGrid migration guide covers the traffic-split flag and suppression import in more detail.