# Creating Email Templates

Email templates are used to streamline effective communication by crafting emails for all the communication sent by the system to ensure consistency and professionalism across all your emails.

### Configuring Email Templates

Creating an email template involves entering the entity, email type, subject, and body. The email templates module also provides multiple placeholders that can be added to the email body.

{% hint style="info" %}
To configure email templates, go to **Menu > Configuration > Application > Email Templates**
{% endhint %}

#### Email Template Fields

<table><thead><tr><th width="197">Field</th><th>Description</th></tr></thead><tbody><tr><td>Template Level</td><td><p>This field allows you to select the system level at which the template will be available. There are 2 options to choose from:</p><ul><li><strong>Application:</strong> Select this option if the template will be used across the entire application.</li><li><strong>User:</strong> Select this option if the template is specific to a particular user.</li></ul></td></tr><tr><td>Select Entity</td><td>Choose the entity that the email template will be associated with (Sales Order, Estimate, Purchase Order, Bill, Invoice, etc.). </td></tr><tr><td>Email Template</td><td>Select the email associated with the selected entity that you want to configure. Click on the "Add Template" option beside this field to add a new template for the entity.</td></tr><tr><td>Select Placeholder</td><td>This field allows you to select the placeholders to insert in an email. Placeholders are dynamic fields that will be replaced with actual data when the email is sent. For example, if you include the placeholder "CustomerName" in the email, it will be replaced with the customer name to which the email is being sent. </td></tr><tr><td>CC Email</td><td>If you want to send a CC of the email to additional recipients, enter their email addresses here. To add multiple recipients, separate multiple email addresses with commas.</td></tr><tr><td>Email Subject</td><td>Enter the subject line of your email in this field. This should be clear and concise, giving the recipient a good idea of the email's content.</td></tr><tr><td>Email Body</td><td>Enter the body of the email in this field. This is the main content of your email. You can use a combination of text and placeholders to craft a personalized message. You can use the options available on top of this section to customize the email text as per your preference. Ensure the body is well-structured and informative.</td></tr></tbody></table>

After configuring all the details, click "Save" to create the email template. After the email template is configured, whenever an email is triggered from the system, the email template will be used.


---

# 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.xorosoft.com/xoroerp-1/configuration/application/email-templates/creating-email-templates.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.
