Mail: template drafts, version history and rollback
Editing a Mail template now saves a draft, and your emails keep using the published version until you press Publish. Every published version is kept, so you can compare any two and roll back in two clicks.
Changing a template that real customers receive used to go live the moment you saved it. Now the editor saves a draft. Publish creates the next numbered version, with who published it, when, and an optional note, and only then do sends use it.
- Version history in the editor lists every version. Compare any two, or a version with your draft: the subject, HTML, plain text and variables schema are shown line by line.
- Restore as draft brings an old version back. Publish it to roll back, and Discard draft throws away edits you do not want.
- Send test sends your saved draft, so you can check it in a real inbox before anyone else gets it.
- Templates synced from GitHub get one version per commit, with the commit and its message, and stay read-only in Mail.
Over the API, the new draft, publish, versions and restore endpoints do the same. Pass template_version to a send to pin a version. Your existing integrations keep working unchanged: POST /templates still publishes straight away, and every template you already had is now version 1. See Template authoring.