---
title: Templates
project: OpenMail
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/openmail/1-0/guides/templates/
updated: 2026-11-19T07:58:07.742Z
---

# Templates

> Create the emails your apps send, with a subject, an identifier and a group.

A **template** is one kind of email, for example a welcome email or an invoice. Every template belongs to a profile and uses its [layout](../layout/).

## Open the templates of a profile

Open **Profiles** and click a profile card. You see its templates, sorted by group:

![The templates of the Demo project profile in the groups Accounts and Billing](/files/JapWJt24s61f.webp)

Each card shows the full identifier of the template, for example `demo/welcome`, and how many emails it has sent.

## Create a template

**1.** Click **Create**.

**2.** Fill in the form:

| Field | What to enter |
|---|---|
| **Name** | A name for you, for example `Welcome`. |
| **Subject** | The subject of the email. It can contain markup, for example `Welcome, {{ value.name }}`. |
| **Identifier** | A short code, for example `welcome`. |
| **Group** | Choose a group or type a new one, for example `Accounts`. Optional. |

![The template form with the name, subject, identifier and group](/files/JapWJv25s60f.webp)

**3.** Click **SUBMIT**.

**4.** Click the new card to write the HTML of the email. See [Template markup](../template-markup/).

## The template identifier

Your apps choose a template by its full identifier: the profile identifier, a slash and the template identifier.

```text
demo/welcome
```

## The template menu

Click the cog on a template card:

![The menu of a template](/files/JapWJx26s61f.webp)

- **Edit** changes the name, subject, identifier and group.
- **Update template** opens the HTML editor, the same as clicking the card.
- **Bulk send** sends the template to a list of addresses. See [Bulk send](../bulk-send/).
- **Clone** makes a copy named `Welcome (CLONED)` with the identifier `welcome_cloned`.
- **Export** downloads the template as a JSON file. See [Import and export](../import-export/).
- **Remove** deletes the template after you confirm.
