Skip to content
AM

Email templates

Open /sites/:siteId/email-templates to manage versioned transactional email templates, preview rendered output, and bind templates to event invocations.

The editor uses live GraphQL queries and mutations for templates, versions, previews, invocation mappings, saves, and deletion. Template status and category are backend values.

Variables use simple double-brace paths such as {{customer.name}}. Rendering looks up nested map paths and substitutes scalar strings, numbers, or booleans. HTML output escapes substituted values. This is a small custom interpolator, not Liquid or Handlebars, and it does not provide a filter language. Missing required variables fail unless preview explicitly allows missing values.

The MCP catalog exposes list, get, preview, save, status, invocation, and send operations for Studio email templates.