Skip to content

Email templates

Email templates are reusable email designs: a subject and a body you can load into a broadcast or use in an automation Send email step. The same page also holds Dynamic Content: reusable snippets of text with Liquid logic that you drop into any email.

Where to find it:

  • Sidebar: Marketing › Email templates
  • URL: /t/<workspace>/templates (tabs Templates and Dynamic Content) and /t/<workspace>/templates/<template-id> (editor)

Everyone can browse templates; creating and editing requires templates:write (see Limits and permissions).

A template stores:

  • a Name (internal),
  • a Subject (may contain Liquid),
  • the body, a structured document produced by the email editor (it stays re-editable),
  • optionally a default sender name and reply-to (settable through the API).

When you save, amabledata compiles the body into email-safe HTML (table layout, inline styles, fixed width) plus a plain-text version, and caches the result. The Status column tells you whether that compiled version is current:

Badge Meaning
Ready The cached HTML matches the current body, subject and workspace physical address.
Needs fixes The body could not be compiled (for example broken Liquid). The draft is still saved, but sending with this template fails until you fix it.

A template is also recompiled automatically when the workspace Physical address changes, because the address is printed in every footer.

How templates are used:

  • Broadcasts copy the template body into the broadcast when you click Load in the wizard. Later template edits do not change that broadcast.
  • Automation Send email steps set to Template reference the template: every email sent by the step uses the template as it is at send time, so edits apply to future sends immediately.

Deleting a template removes it from the list and the pickers. An automation step that still points to it keeps queuing emails, but each of those messages ends as failed with a content error and nobody receives it, so update those steps first.

A snippet is a named piece of Liquid text, for example a greeting that changes with the contact’s language or a VIP offer. Each snippet has a Key such as vip_offer and is used in any email as the field {{ snippets.vip_offer }}.

  • Snippets are rendered separately for each recipient, before the email, using the same data (contact, company, owner, unsubscribe link).
  • The output is inserted as plain text: HTML tags written in a snippet appear literally. Use the email editor for formatting.
  • Snippets cannot reference other snippets.
  • A snippet that fails at send time (syntax error, time limit) renders empty instead of breaking the email.
  • Changes are live: every email that references a snippet uses its current content at send time, including scheduled broadcasts and running automations. There is no version history. To change a snippet safely, create a new key (for example vip_offer_v2), test it, switch your emails over, then delete the old one.
  • Each snippet has 500 ms of render time per recipient.

For every recipient, an email goes through the same steps whether it comes from a template, a broadcast or an automation:

  1. The document is compiled into HTML, text and subject templates (cached per content version).
  2. The recipient’s data is collected (see Personalisation (Liquid)), the referenced snippets are rendered, and the Liquid is resolved in a sandbox. In the HTML part every value is HTML-escaped.
  3. The HTML is sanitised, links are rewritten for click tracking and the open pixel is appended (real sends only).

The in-app preview uses the same renderer and the same data, so what you see is what the recipient gets.

  1. Open Marketing › Email templates (tab Templates).

  2. Click New template. A template named Untitled template is created with an empty paragraph and a footer, and the editor opens.

  3. Fill in:

    • Name: internal name, 1–200 characters.
    • Subject: up to 300 characters, Liquid allowed (for example Your order, {{ contact.first_name }}).
  4. Write the body in the editor (see The email editor).

  5. Click Save. The toast Saved confirms it and the page header shows Ready or Needs fixes.

  1. Click a row in the template list to open the editor.

  2. Use the Preview panel on the right:

    • Preview as: search a contact (Search a contact…) to render the email with their data; without a contact, sample data is used (Ada Lovelace, owner Marco Rossi, company Analytical Engines Srl).
    • HTML / Plain text tabs.
  3. Click How it works to open the Liquid guide.

  4. Click Send test: the template is saved first, then the Send a test email dialog opens. Tick workspace members under Recipients (you are pre-selected, up to 10), check Fill fields with (the contact chosen in Preview as or Sample data), and click Send test. Tests have [Test] in the subject, no tracking, a placeholder unsubscribe link, and work even before your sending domain is verified.

  5. Click Save.

In the template list, select one or more rows, click Delete and confirm (Delete {name}? or Delete {count} items?).

  1. Open the Dynamic Content tab. If you have no snippets yet, the page shows Write it once, personalize it for everyone with buttons How it works and New snippet.

  2. Click New snippet.

  3. Fill in:

    • Name: what colleagues see in the field picker (1–200 characters).
    • Key: lowercase letters, digits and _, starting with a letter, up to 63 characters. Other characters are converted to _ as you type. The hint shows how to insert it, for example {{ snippets.vip_offer }}. The key cannot be changed later and must be unique.
    • Content (Liquid): up to 20,000 characters of text and Liquid. The code editor numbers lines, highlights Liquid, and checks the syntax as you type: Liquid syntax is valid. or the error with its line and column.
  4. Use the Liquid helper panel on the right to pick fields, build conditions and preview the snippet for any contact (see Liquid helper).

  5. Click Save. The Save is ignored while the name is empty or the key is invalid.

Click a snippet row (or its Edit row action) to open Edit snippet; only the name and content can change. To delete, select rows, click Delete and confirm. Emails that still reference a deleted snippet render it empty.

In any email editor type {{ and pick the snippet from the Dynamic Content group, or click it in the Liquid helper (Fields tab).

The same editor is used for templates, broadcasts and automation emails.

Group Controls
History Undo, Redo
Blocks Heading (levels 1–3), lists (bulleted, numbered, task list), blockquote
Marks Bold, italic, underline, strikethrough, inline code, highlight color, link
Alignment Left, center, right
Insert menu Email blocks and Liquid blocks (below)
{{ }} Liquid helper Opens the helper drawer
Image link When an image is selected: the URL the image links to
Item What it adds
Button A call-to-action button with Label, Link, Alignment (Left, Center, Right), Color and Text color
Divider A horizontal rule
Spacer Vertical space; Height in pixels (rendered between 4 and 160)
Two columns / Three columns Side-by-side columns
Header A header block at the top of the email (only one; hidden from the menu once present)
Preheader The inbox preview text block at the top (only one)
Insert field Starts a merge field (same as typing {{)
Condition A block shown only when a condition is true, with an optional Otherwise part
Liquid code A raw Liquid block (Advanced: raw Liquid, rendered for each recipient.)

Type {{ (the placeholder reminds you: Write something, or type {{ to insert a field…) and choose a field. It appears as a chip. Click the chip to set a Fallback (Shown when the field is empty). Date fields get a date format and tag lists are joined with commas automatically. Plain text typed as {{ … }} without a chip stays literal: insert Liquid with a chip, a condition block, a Liquid code block or the helper.

A condition block has an If line with three kinds of condition:

  • Tag: has tag / does not have tag and the tag name.
  • Field: a field, an operator (is, is not, contains, is greater than, is less than, is empty, is not empty) and a Value.
  • Liquid expression: any Liquid condition, for experts.

Use Add “otherwise” / Remove “otherwise” to toggle the else part. Buttons, images and formatting inside a condition block work normally.

New emails start with a footer block. The footer always ends with the unsubscribe link (The unsubscribe link is always added and cannot be removed.); you can change its Unsubscribe link text (default Unsubscribe). If you delete the footer, marketing emails get a default footer automatically. The workspace Physical address is printed in the footer.

Column Content
Name Template name (sortable)
Subject Subject or — (hidden on small screens)
Status Ready or Needs fixes
Updated Last change (sortable, default newest first; hidden below large screens)

Empty state: No templates yet. Create one to reuse it in broadcasts and automations.

Column Content
Name Snippet name (sortable, default A→Z)
Key The field to use, for example {{ snippets.vip_offer }}
Updated Last change
Item Limit
Template name 1–200 characters
Template subject 300 characters
Template sender name (API) 100 characters
Template body 512 KB of stored content
Snippet key ^[a-z][a-z0-9_]{0,62}$, unique, immutable
Snippet name 1–200 characters
Snippet content 20,000 characters
Snippet render time 500 ms per recipient
Members per test send 10

Paths relative to /api/v2/t/<workspace>.

Method and path Permission Purpose
GET /emailTemplates broadcasts:read List, most recently updated first
POST /emailTemplates templates:write Create (name, subject, body, from_name, reply_to)
GET /emailTemplates/{id} broadcasts:read Get one
PATCH /emailTemplates/{id} templates:write Update
DELETE /emailTemplates/{id} templates:write Delete
POST /emailTemplates/{id}/test templates:write Test send to members
GET /emailSnippets broadcasts:read List every snippet
POST /emailSnippets templates:write Create (key, name, body)
GET /emailSnippets/{id} broadcasts:read Get one
PATCH /emailSnippets/{id} templates:write Update name / body
DELETE /emailSnippets/{id} templates:write Delete
Action Permission Roles
Open templates and snippets (read-only) broadcasts:read Owner, Admin, Marketer, Sales, Analyst, Viewer
Create, edit, delete, test templates and snippets templates:write Owner, Admin, Marketer
Preview with a real contact contacts:read All roles

Sensitive custom fields are masked in previews for roles without contacts:read_sensitive; real sends always use the real value.

Symptom Cause Fix
Template shows Needs fixes The body does not compile, usually a Liquid syntax error (unclosed {% if %}, unknown filter) Open the template, check the preview and the Liquid helper’s Preview tab for the error position, fix and save.
A field shows literally as {{ contact.first_name }} in the email It was typed as plain text Re-insert it as a chip (type {{ and pick it) or use a Liquid code block.
HTML tags appear as text in a snippet’s output Snippets are inserted as plain text Put the formatting in the email editor around the snippet.
A snippet renders empty It failed for that recipient, or the key no longer exists Preview the snippet for that contact in the snippet editor.
snippet key … already exists Keys are unique Choose another key.
Automation emails end as failed with a content error such as “template … does not compile” or “template … not found” The referenced template is broken or deleted Fix the template or choose another in the step.
email body exceeds 512 KB The document is too large (often pasted images or huge HTML) Use linked images and shorter content.