Skip to content
Docs

Overview

Design an email once and reuse it in API sends, automations and campaigns. Aliases, versions, three editors, Temple variables and the Templates API.

Updated Oct 1, 2026

A template stores an email’s subject, sender details and content so you can design it once and reuse it. Build templates in the dashboard with a drag-and-drop, rich-text or HTML editor, or manage them through the API, then send them by alias and fill in the personal details at send time.

How it works

  1. Create a template in Email MarketingTemplates or with the API. Give it a name and an alias, such as welcome-email.
  2. Design the content in one of three editors, with placeholders such as {{first_name}} where personal details go.
  3. Publish it. The first template with a new alias is published automatically. Templates you add later with the same alias become draft versions that you publish when they’re ready.
  4. Send it. Call POST /emails with "template": "welcome-email" and a variables object. Emailit renders the published version with Temple and sends it.

Because your code refers to the alias rather than a specific template, you can change the design and publish a new version without deploying code.

What a template contains

Field Details
Name A label for your team, up to 191 characters.
Alias The identifier your code uses, up to 191 characters of a–z, 0–9, _ and -. All versions of a template share one alias.
Editor Dragit (drag and drop), Rich Text or HTML.
Subject The default subject line, up to 191 characters. It can contain placeholders.
From The default sender, such as Acme <hello@acme.com>.
Reply-To Optional reply address or addresses.
Content The HTML body, an optional plain-text body (through the API) and, for Dragit templates, the design as Dragit JSON.

Where you can use templates

Where How it uses the template Placeholders
Email API template takes an alias (published version) or a tem_ ID (that exact version). Subject, HTML, text and Reply-To come from the template unless the request overrides them. The request’s from is always required. Temple, filled from variables
Automations The Send email step sends a template. The template’s From, subject and Reply-To are used unless the step overrides them. Temple, filled from the contact and the trigger
Campaigns Choose from templates copies a template’s content into the campaign as a starting point. Save as template turns a campaign into a template. Campaign merge tags
SMTP relay Not available. SMTP sends the message exactly as you built it. None

What you can do

Create templates and design them with Dragit, Rich Text or HTML.
Variables, defaults and conditionals, and where they’re rendered.
Draft a new version under the same alias and publish it when ready.
Bring in Dragit JSON, HTML or ZIP packages, and export them again.

Templates API

Manage templates from code with the Templates API:

Endpoint Purpose
Create a template Add a template or a new version of an existing alias.
Retrieve a template Get one version, including its content and the list of other versions.
Update a template Change a version’s fields or content.
List templates List the published version of each alias.
Publish a template Make a version the live one for its alias.
Delete a template Delete one version.

The API needs a Full Access key. Changes emit the template.created, template.updated and template.deleted webhook events. Importing and exporting files is available only in the dashboard.

Availability

Templates are available on every plan at no extra cost. Storing templates doesn’t use credits; each email you send with one is charged like any other send.

Get started

Set the name, alias and editor, then design it.
Send by alias with variables from your code.

Was this page helpful?

Thanks for the feedback.

Thanks, we read every message.