Templates
Create reusable subject/body pairs, then send with templateId + variables.
HTML templates
POST /templates
{
"name": "Welcome",
"subject": "Hello {{name}}",
"html": "<p>Hi {{name}}</p>",
"text": "Hi {{name}}"
}
html and/or text are stored as-is — {{var}} placeholders are preserved for send-time substitution and HTML-escaped when the values are applied.
Visual editor
The console’s Templates page (requires the template_editor capability — see Capabilities) has a rich-text editor built on React Email’s open-source editor, with rich text formatting, multi-column layouts, images, and an “Insert variable” control for {{var}} placeholders. It exports plain HTML/text, so anything built there is sent through the same html/text fields as the API above — there’s no separate authoring format to keep in sync.
An “Edit HTML / text” toggle is available for pasting or hand-writing markup directly.
Preview: POST /templates/{id}/preview with optional variables. Send: POST /emails with templateId + variables.
JSX authoring
evre does not compile React Email JSX server-side (disabled after a security review — arbitrary server-side code execution is not an acceptable trust boundary for customer input). Render your JSX to HTML/text yourself (e.g. with the React Email CLI or the visual editor above) and submit the resulting html/text.