# Creating Email Message Template

You can add an email template by selecting the **Template** submenu under the **Email** menu. Creating a template will make it easier for you to send email broadcasts with the same message repeatedly.

Click the **Add Email Template** button to create a new template or select from the templates you’ve previously created.

<figure><img src="/files/alTwEzGUZvoRDqX2VnXr" alt=""><figcaption></figcaption></figure>

Next, you will be directed to the template creation page, which provides the **Components** and **Settings** menus.&#x20;

**Components** are items that you can select and insert by dragging and dropping them onto the template page you are creating.

<figure><img src="https://image-archive.developerhub.io/image/upload/v2_4167/fdg1yxfsobhb2bnccfq2/1644914214.jpg" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The functions of each available component are as follows:

* **Text**: A component for adding areas where you can include text or information to be communicated to customers. You can choose to format the text in one or two columns.
* **Boxed Text**: A component that places text within a special box that does not blend with the background.
* **Divider**: A component used to separate sections within the body of the email.
* **Image**: A component for inserting an image.
* **Image Group**: A component for inserting multiple images at once and grouping them together.
* **Image Card**: A component for inserting an image with a caption in a card-like box.
* **Image and Text**: A component for inserting an image with text that blends with the background.
* **Button**: A component for adding a button.
* **Footer**: A component for adding a footer note.
* **Share**: A component for adding links or social media information.
* **Social Follow**: A component for connecting the email with your business's social media accounts, making it easier for customers to follow your business.
  {% endhint %}

After inserting the necessary components, you can rearrange the order of the components in the email template.

<figure><img src="/files/JS3LgPfUGX0Gkua7j79H" alt=""><figcaption></figcaption></figure>

If you want your message to feel more personal, you can add variables to the body of your email. Variables are dynamic content that can change according to recipient information, such as their name, bill amount, or customer number. To use them, write the variable name in the body of the message with square brackets (\[) at the beginning and (\[) at the end of the variable.

<figure><img src="https://image-archive.developerhub.io/image/upload/v2_4167/pxjbo1ahs2khpwpxdwy7/1627370961.jpg" alt=""><figcaption></figcaption></figure>

You can go to the **Settings** tab to adjust the colors and margin appearance of the email.

<figure><img src="/files/WVD4NEn7n9befgzpt2oo" alt=""><figcaption></figcaption></figure>

Click **Generate** if you have finished creating your email template.

<figure><img src="/files/eYFmnlD8I1Pf6nMFP2SY" alt=""><figcaption></figcaption></figure>

Once complete, a preview of the newly created template will appear in both desktop and mobile views. If the template meets your expectations, enter a name for the template and then click the **Save** button.

<figure><img src="https://image-archive.developerhub.io/image/upload/v2_4167/ve2jys6adbmu4mwhxmgq/1627378630.jpg" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ocaindonesia.co.id/oca-blast/english/oca-blast-guide/broadcast/email-broadcast/creating-email-message-template.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
