> ## Documentation Index
> Fetch the complete documentation index at: https://docs.noimosai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create and Edit Email Templates

> Learn how to create reusable emails and insert each customer's name, company name, and other information.

## Overview

Email templates save reusable subjects, body content, images, buttons, and other content for campaigns. This page explains how to create and edit templates, insert customer information, and send a test email.

Manage templates from `Customer engagement` in workspace settings. You can also select a template from a campaign's `Send email` step.

## Create an Email Template

Create a template from a provided design or from a blank canvas. If you manage existing email in HTML, a format that defines an email's layout and styling in code, you can import the HTML instead.

Create a template in the following seven steps. When complete, you can select it in a campaign's Send email step.

1. Open `Customer engagement` in workspace settings.
2. Open the email template list from `Email`.
3. Create a new template.
4. Select a template such as welcome, newsletter, or promotion, or select `Start from scratch` or `Import HTML`.
5. Set the template name, category, subject, preview text, and language. Preview text is a short description displayed after the subject in the inbox.
6. Add the necessary blocks to the body and edit the content.
7. Review desktop and mobile previews, then save.

<img src="https://mintcdn.com/agoslabstechnologiesfzco/gmWUqUuamVQ9jt2Y/public/help-center/ai-team/campaigns/customer-engagement/configure-senders-and-event-tracking/email-template-editor.png?fit=max&auto=format&n=gmWUqUuamVQ9jt2Y&q=85&s=c411b0641da64c7233388f42bb2a3a31" alt="Editing an email template's subject and content" style={{ border: '1px solid #e5e7eb', borderRadius: '8px', marginBottom: '1rem' }} width="2880" height="1620" data-path="public/help-center/ai-team/campaigns/customer-engagement/configure-senders-and-event-tracking/email-template-editor.png" />

## Build Email Content with Blocks

Blocks let you edit an email's text and layout without writing code.

You can add the following nine main blocks.

| Block     | How to use it                                 |
| --------- | --------------------------------------------- |
| Heading   | Add a heading to the email.                   |
| Paragraph | Add body text.                                |
| List      | Display multiple items.                       |
| Button    | Make a link to your website or app stand out. |
| Image     | Add a product or explanatory image.           |
| Video     | Add a link to a video.                        |
| Divider   | Separate groups of content.                   |
| Spacer    | Adjust the space between blocks.              |
| Columns   | Divide content into multiple columns.         |

To list social links, you can also add a `Social` block. For buttons and images, set the destination URL and alt text that conveys the content when the image does not display.

## Personalize Content with Merge Tags

A `merge tag` is a placeholder that is replaced with customer data when you send an email. Add one to a subject or body to change the name or company for each recipient from the same template.

You can use the following five merge tags by default.

| Customer information | Merge tag          | Example when sent                           |
| -------------------- | ------------------ | ------------------------------------------- |
| First name           | `{{firstName}}`    | Taro                                        |
| Last name            | `{{lastName}}`     | Yamada                                      |
| Company              | `{{company.name}}` | Sample Inc.                                 |
| Email                | `{{email}}`        | [taro@example.com](mailto:taro@example.com) |
| Job title            | `{{jobTitle}}`     | Head of Marketing                           |

For example, enter the following subject.

```text theme={null}
{{firstName}}, let's get started with initial setup
```

For a recipient whose `First name` is `Taro`, the subject becomes `Taro, let's get started with initial setup`. Select a customer in the preview's `Sample data` to test how the content looks with that customer's information.

Check that the information you insert is saved in customer data beforehand. Use wording that still makes sense for customers without a value, or target only a segment that has the required information.

## Import and Edit HTML

If you manage existing email in HTML, select `Import HTML` and paste the source code to edit it.

In HTML mode, the preview updates as you edit the source in the center. A template saved as HTML cannot return to the block format, so review the layout and links before saving.

## Send a Test Email

Before using a template in a campaign, send a test email and check how it appears in an actual inbox.

Send a test email in the following four steps.

1. Select `Send test` in the template editing screen.
2. Enter the destination email address.
3. Select a sender and send the test email.
4. In the received email, review the subject, inserted content, images, buttons, links, and mobile display.

Test sending requires an available email account or sending domain. [Configure Senders and Event Tracking](/help-center/ai-team/campaigns/customer-engagement/configure-senders-and-event-tracking) explains sender setup.

## Manage Templates

From workspace settings, you can edit, rename, duplicate, or delete saved templates.

When you create emails with the same structure but a different purpose or audience, duplicate the original template, then change the subject and body. When you edit a template that is in use, review the campaigns that use it as well.

## Related Pages

The following pages explain how to configure and test campaigns that use email.

* [Create and Edit Campaign Steps](/help-center/ai-team/campaigns/customer-engagement/create-and-edit-journey)
* [Configure Senders and Event Tracking](/help-center/ai-team/campaigns/customer-engagement/configure-senders-and-event-tracking)
* [Test, Approve, and Start a Campaign](/help-center/ai-team/campaigns/customer-engagement/test-approve-and-start-campaign)
