Migration Converter · free
Email API migration converter
Convert common provider examples into draft Postscale requests, webhook handlers, SMTP settings, and suppression-import commands.
Conversion mode
InputPaste or edit
Output1 recipient, 1 tag
await fetch("https://api.postscale.io/v1/send", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.POSTSCALE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
from: "Acme <alerts@example.com>",
to: ["user@example.com"],
subject: "Welcome",
html_body: "<p>Hello from Acme</p>",
text_body: "Hello from Acme",
tags: ["onboarding"],
metadata: {
"user_id": "usr_123"
},
}),
});What this converter does
The tool converts common fields and generates a starting point. Review and test the output before using it in your app. Check unsupported fields and provider-specific behavior before moving live traffic.
For provider-specific cutover steps, see the migration center. For production authentication and warming, use the setup checklist.
Need this in production?
The free tool is great for one-off checks. For automated monitoring, alerting, and an API, see the related Postscale product.
See the Transactional Email API