# Email templates and variables

Save emails you write again and again as personal templates, drop them into the composer, and personalise them with variables that fill in when you send.

Source: https://support.rework.com/article/email-templates-and-variables

Daniel sends almost the same email after every discovery call: a thank-you, a recap and the next steps. A **template** keeps that email ready, and **variables** fill in the parts that change, such as the recipient's first name or his own. Here's how to build your own templates and make them personal. To share a template with your team, see [Share email templates with your team](https://support.rework.com/article/share-email-templates-with-your-team).

## Step 1: Create a personal template

1. Click **Templates** at the bottom of the left menu. The same page is under **Settings › Templates**.
2. Click **New template**.
3. Fill in the **New template** window:
   - **Name** (required) **(1)**: how you'll find it, for example _Discovery call follow-up_.
   - **Category**: optional, for grouping.
   - **Subject** (required) **(2)**: for example _Great talking today_.
   - **Body** (required) **(3)**: the email itself, with the same toolbar as the composer.
   - **Attachments**: click **Attach files** for files that always go with it.
4. Leave **Visibility** **(4)** on **Personal — only me**, the default.
5. Click **Save** **(5)**.

![The New template window with Name, Subject, Body, Visibility set to Personal — only me, and Save](https://storage.googleapis.com/reworkv3-public/success/261009/u2S7A35VqBDv89Kv3qvWhJWFtbdMV6pIC7bra9Q8VoAKjyE4n5f889jiQ4qyb1Rb/img.1WaZuJzpjSSssnNal0zZoUyMo5m1KYCSF6PnyxurumVbaCefsON7bvOJkBEIEgWI.png)

## Step 2: Find a template

The **Templates** page lists every template you can use, with its **Author** and **Last updated** date and an icon for who can see it.

- Use the tabs to narrow the list: **All**, **Personal**, **Team** and **System**.
- Type in **Search templates…** to find a template by its name or subject.
- Click one of your own templates to edit it, or use its **⋯** menu for **Edit** and **Delete**. Someone else's template opens as a read-only preview.

## Step 3: Insert a template into an email

1. In the composer footer, click **Insert template** **(1)**.
2. Type in **Search templates…** **(2)** to search every template you can use by name or subject, or pick from the list **(3)**.

The template fills in the email:

- Its body **replaces** whatever is in the body. Your signature stays, and so does the quoted text of a reply.
- Its subject replaces the subject.
- Its attachments replace the attachments.

![The Insert template list open from the composer footer, with Search templates…](https://storage.googleapis.com/reworkv3-public/success/261009/XjE4CEZeyXrTtO26gjHHcdw3242ryrV7rIpYkXwVTob9RJufPftbyZs3tx3qArnl/img.6BPUtBzm1GbSLRRk8VI3HWbJGxBkUmwtjsmuiVL9XKDk8C6YViUihjFepA9butSt.png)

> **Warning:** Insert the template first, then make your changes, or you'll lose what you typed. In a reply, check the subject afterwards: the template's subject replaces the _Re:_ line.

## Step 4: Add variables

A variable is a placeholder shown as a chip, for example **Recipient 1 first name**. When you send, Rework swaps each chip for its value, so _Hi_ **Recipient 1 first name** goes out as _Hi Maya_.

Click **Variables** (the curly-braces icon) **(1)** in the toolbar. The panel groups variables into tabs, such as **Recipients** **(2)**. Hover a tab to see its name:

| Group | Variables | Where the value comes from |
| --- | --- | --- |
| **Company** | **Company name**, **Company mission**, **Company vision** | Your workspace |
| **You** | **Your first name**, **Your last name**, **Your name**, **Your email** | Your own Rework profile |
| **From** | **Sender name**, **Sender email** | The account picked in **From** |
| **Recipients** | **Recipient 1 first name**, **Recipient 1 last name**, **Recipient 1 name**, **Recipient 1 email**, then the same for **Recipient 2** and on, one set per person in **To** | The people in **To**, by position |

You may also see tabs for **Deal**, **Deal Contact**, **Deal Account** and **Lead**. In an email you write in Mail, their tooltips read _no values yet_.

Each row shows the value it has right now, or _no value_ **(3)**. Click a row to insert it at the cursor, or type in **Search variables…** **(4)** to find one across all tabs.

There's a faster way: type **{{** in the body or in the **Subject**, then pick a variable from the list.

How recipient variables work:

- They follow the order of **To**: **Recipient 1** is the first person, **Recipient 2** the second. **Cc** and **Bcc** don't count.
- Everyone on the email receives the same text. Recipient 1's name doesn't change for Recipient 2.
- An address you type yourself is only an address, so the name variables for that person have no value. In a reply, Rework takes the name shown on the original email.

![The Variables panel on the Recipients tab, showing no value for each variable while To is empty, with Search variables… and Preview values](https://storage.googleapis.com/reworkv3-public/success/261009/ggRbWk8QwrSzVJs8aPcAfecXUVdNPw61QoW4Zxfis2dmM6ckigxhwWAo0cRY308k/img.s7I0HCzG9qgQJGbsrqV11hxicRf8jLKG6OX0ozWdZ2H9H0aibYygw7fwqXobqbdg.png)

## Step 5: Check the values before you send

At the bottom of the **Variables** panel:

- **Preview values** **(5)** shows each chip's value in place, so you can check length and wording. The button reads **Previewing values** while it's on. Click it again to go back to chips. A variable with no value stays a chip.
- **Apply values to message** writes the current values into the body for good.

Hover a chip to see its value. A chip without one says _No value yet — will send blank_.

When you click **Send** or **Schedule**, Rework checks for variables with no value and asks before going on, for example:

_2 variable(s) have no value: recipient\_1\_first\_name, company\_vision. Send anyway? They'll be left blank._

Click **Cancel** to go back and fix them, or **OK** to send with those parts left blank.

> **Note:** Templates and drafts keep variables as placeholders. Values are filled in only when you send or schedule, using the recipients and **From** account of that email.

## What to do next

To share your best templates with your team, see [Share email templates with your team](https://support.rework.com/article/share-email-templates-with-your-team). Signatures can use variables too: see [Email signatures](https://support.rework.com/article/email-signatures).
