ZapSMTP / Docs / API reference
Templates
Edit a draft, then publish it: sends always use the published version, so changes go live only when you say so. Templates use logic-less Mustache: {{name}} is escaped, {{{html}}} is raw, sections repeat over lists. Send with template: {id, variables} on Send an email; variable_schema declares each variable’s type, whether a send must give it and its default (see Variables). Every save is kept in the version history (the newest 50), ready to restore.