Migration Converter · free

Email API migration converter

Convert common provider snippets into Postscale send calls, webhook adapters, SMTP settings, and cleaned suppression import scripts. Everything runs in your browser.

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

This tool is a migration scaffold, not a compiler. It extracts the common fields from provider snippets and generates the Postscale shape you should wire into your mail adapter. Review the output before shipping it.

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