Documentation Index
Fetch the complete documentation index at: https://docs.elasticfunnels.io/llms.txt
Use this file to discover all available pages before exploring further.
What are email templates?
Email templates are the transactional emails your brand sends to customers — order confirmations, shipping notifications, renewal reminders, and more. ElasticFunnels provides system templates for every transaction type and lets you create custom templates to match your brand.System vs custom templates
| Type | Description | Editable? |
|---|---|---|
| System | Auto-created when you enable a merchant or subscription feature. Covers all standard transaction types (purchase, refund, shipped, etc.) | Content and design only — cannot be deleted |
| Custom | Templates you create from scratch for specific use cases | Fully editable and deletable |
Two ways to edit
After creating or opening an email template, you can choose between two editors:Visual Builder (GrapesJS)
A drag-and-drop editor that lets you design emails visually. Ideal for non-technical users who want to build responsive emails without writing HTML.- Drag blocks like text, images, buttons, and dividers
- Style elements with a visual properties panel
- Preview desktop and mobile layouts side by side
- Insert template variables from the Variables panel
Code Editor (Monaco)
A full HTML code editor for users who prefer writing markup directly. The code editor gives you complete control over the email HTML.- Syntax highlighting for HTML/CSS
- Auto-completion and error detection
- Save with
Cmd+S/Ctrl+S - Switch to the Visual Builder at any time
Template variables
Every email template has access to variables — dynamic data that gets replaced when the email is sent. For example,{{ purchase.customer_first_name }} is replaced with the customer’s actual first name.
Variables are organized by scope (purchase, subscription, brand, etc.). See the Template Variables reference for the complete list.
Conditional content
Use@if / @endif directives to show or hide sections based on available data:
@each / @endeach to loop over collections like products:
Related docs
- Template Variables — Complete variable reference
- Order Emails — Purchase, refund, shipped, cancelled
- Subscription Emails — Renewals, paused, canceled, dunning
- Course Emails — Enrollment, magic links, comments
- Login Emails — Verification codes and magic links