# Add variables to email templates

Supported in:
This document explains how to use dynamic variables in email HTML
templates to create reusable and customizable email content within Google Security Operations.

## Create the email HTML template

You can create the email HTML template with a fixed subject header and title. The `{Text}` placeholder lets playbook builders manually insert content when they create a new playbook.

To do this, follow these steps:

1. Go to **Settings \> Administration \> Email HTML Templates**.
2. Add a new template and give it a name. For example, `Testing Text Option`.
3. In the template body, make sure you include the `{Text}` placeholder. This placeholder will be replaced with the custom content provided in the playbook.
4. Click **Add**.

### Add the template to a playbook

1. In your playbook, drag in a **Send Email** action.
2. Choose the specific template: click the list and select **Testing Text Option**.
3. In the **Content** field, enter the body of your email. This content will replace the `{Text}` placeholder when the playbook runs.
4. Click **Save**.
5. When an alert is ingested into the Google SecOps platform, the playbook runs and triggers an email. The system renders the email template, inserting the content from the **Content** field into the `{Text}` placeholder before sending the email to the recipient.

**Need more help?** [Get answers from Community members and Google SecOps professionals.](https://security.googlecloudcommunity.com/)