> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sendrealm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Templates

> Create reusable email templates in the dashboard with the visual editor or existing HTML.

Email templates are channel-specific reusable assets that you can use in broadcasts and automations.

## What a template stores

* Name and description
* Draft and published versions
* Subject template and preview text
* Visual editor content or imported HTML, plus rendered HTML/text

## Dashboard workflow

1. Open `Templates > Emails`.
2. Choose **Visual editor** to start from a blank canvas, or **Import HTML** to paste or drop an existing `.html` email template.
3. Continue in the same editor. Imported markup opens as an HTML block with **Preview** and **HTML** views so the original document remains intact and editable.
4. Publish when the template is ready for broadcasts or automations.
5. Restore older versions into a new draft if you want to roll forward from history.

> [!NOTE]
>
> Template authoring, publishing, restoring, and archiving are dashboard-only.
> The public API and MCP expose templates as read-only resources so trusted
> backends and agents can select published versions without authoring content.

## Related pages

* [Push Templates](https://docs.sendrealm.com/tutorials/push-templates.md)
* [List Templates API](https://docs.sendrealm.com/api-reference/endpoint/list-templates.md)
* [List Template Versions API](https://docs.sendrealm.com/api-reference/endpoint/list-template-versions.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.