#3236·listmonk

Feature request: Version history / rollback for Templates (campaign & transactional)

Author: enniosousaCreated Sep 23, 2026Updated Sep 23, 2026
Labelsenhancement

Is your feature request related to a problem? Please describe.

Templates in listmonk (both campaign and transactional) can currently be overwritten with no way to recover the previous content. There is no undo, no history, and no confirmation step that warns you when you're about to replace the HTML of a template that is actively used by transactional emails.

This isn't a hypothetical edge case. I build my templates locally (VSCode) and paste the finished HTML into the listmonk web UI. During one of these routine updates, I accidentally pasted the HTML into the wrong template and saved it. The previous HTML was gone instantly — there was no way to restore it from within listmonk.

Because that template was wired to a transactional flow, the mistake wasn't just cosmetic: transactional emails started failing/rendering incorrectly right away, and end users were the ones who hit the errors. Recovering meant manually rebuilding the template from scratch, and every minute that took was more failed transactional messages going out.

I want to be clear: this was my own mistake (a wrong paste), not a bug. But the lack of any safety net around template edits meant a small, everyday slip turned into a production incident with real user impact.

Describe the solution you'd like

A lightweight version history for templates, so an accidental overwrite is a two-click recovery instead of a rebuild-from-memory:

  • Automatically snapshot the previous version of a template's body every time it's saved/updated (no extra action required from the user).
  • A "History" tab/button on the template edit screen listing previous versions with timestamp and user.
  • Ability to preview a previous version and restore it with one click.
  • Reasonable retention (e.g. keep the last N versions, or last N days) so this doesn't grow the DB unbounded.

Describe alternatives you've considered

If full version history is considered too heavy for now, smaller mitigations would still help a lot and are probably much cheaper to implement:

  • Keep just the single last version (one-level undo) instead of a full history.
  • A confirmation dialog before saving, showing a diff or at least a warning when a template that is in use by a transactional flow is about to be overwritten.
  • An "export/download template as .html" button, so users can keep manual local backups more easily before pasting new content in.

Any of these would have prevented — or at minimum drastically shortened — the incident I described above.

Additional context

This is not a criticism of listmonk, which I rely on and think highly of — the goal here is only to make an already solid tool a bit more resilient against a very human, very common mistake (copy-pasting into the wrong field).