# Custom Email Templates

{% hint style="success" %}
*This feature is included in the* [*Professional Plan*](https://www.docexport.com/professionalfeatures/) *and above.*
{% endhint %}

## Custom Email Templates

You can email all generated PDFs from your monday.com board to the user who created the document or to any email address of your choice.

People columns and email columns are also supported.

By default, all attachments are sent using the standard DocExport email template:

<figure><img src="https://content.gitbook.com/content/MnVzL8c1pE5zXO95iUKm/blobs/eJbzzT0RxReWq4kzvXOV/DocExport_StandardMail.png" alt="" width="375"><figcaption></figcaption></figure>

You want to change the look? No problem! This email can be tailored to you and your needs by adding custom email templates.

**Note:** Custom Email Templates are only available for the DocExport [Professional](https://www.docexport.com/pricing/) plan or any higher plan.

## Add Custom Email Template

1. Open the DocExport view in your monday.com board
2. Go to "More" and click on "Templates"
3. Choose "Add Email template"

<div><figure><img src="https://1159009676-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMnVzL8c1pE5zXO95iUKm%2Fuploads%2FwFHIuV2Aqi4Ox92M6KDg%2FDocExport_CustomEmailTemplate_V2.png?alt=media&#x26;token=1f565c72-35bd-4add-a276-beed48e79dd3" alt=""><figcaption></figcaption></figure> <figure><img src="https://1159009676-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMnVzL8c1pE5zXO95iUKm%2Fuploads%2FxJngmgDYyZpLupfjalGk%2FDocExport_V2_AddEmailTemplate.png?alt=media&#x26;token=18936585-79e5-45cf-b554-e23306e07e1b" alt=""><figcaption></figcaption></figure></div>

4. Define the name of your email template by clicking on the name field.
5. Customize your email template by entering a custom subject line and defining the email body. You can use the text editor and create your HTML template from scratch or directly copy your HTML code into the email body field by switching to the code view.
6. Edit your template afterwards by clicking on "edit" in the template view.

<figure><img src="https://1159009676-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMnVzL8c1pE5zXO95iUKm%2Fuploads%2FxYR4Bvhcz2BRwFZiHn0U%2FDocExport_V2_CustomEmailTemplateDesign.png?alt=media&#x26;token=9563857b-9acf-4c09-9f28-97e62db82b04" alt=""><figcaption></figcaption></figure>

### **Use placeholders in your templates**

You can also use placeholders in your Custom Email Templates, e.g. if you want to output the name of the document that is attached to the email.

You can use the following placeholders:

`{{Name of Document}}` *-* for the name of the document attached

`{{User.Name}}` *-* name of the user generating the document

`{{Board.Name}}` *-* name of the board you are using while generating the documents

`{{Item.ColumnTitle}}`*-* value from any column, e.g. Text column, Numbers column, Date column, etc.

## **Select and use Email Template**

1\. Generate a document and go to "Actions/Automations".

2\. When selecting to send it via email, you will have a dropdown menu where you can select your custom email template.&#x20;

If you are setting up an automation, the chosen email template will always be used for this particular use case/recipe

<div><figure><img src="https://1159009676-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMnVzL8c1pE5zXO95iUKm%2Fuploads%2FXccXoTdIJtlBjdhkVxPd%2FDocExport_V2_EmailTemplate.png?alt=media&#x26;token=402d468b-0173-4158-aee2-3451ccd76775" alt=""><figcaption></figcaption></figure> <figure><img src="https://1159009676-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMnVzL8c1pE5zXO95iUKm%2Fuploads%2F5oENCFsPwFQNM0LCyDBL%2FDocExport_V2_EmailTemplateDropdown.png?alt=media&#x26;token=c4682e0b-92df-4c85-92a3-7de1e049cab9" alt=""><figcaption></figcaption></figure></div>

## Example email template

Subject: Proposal for `{{Item.Project}}` // `{{Item.Client}}`

Hi `{{Item.Contact}}`,

I hope this email finds you well. Attached, please find the proposal from `{{Item.Date}}` we discussed earlier. I've put together some ideas and details for `{{Item.Project}}`, and I'm excited to hear your thoughts.

Looking forward to discussing it further.

Best regards,\
`{{User.Name}}`

## Custom Email Sender

You can specify a custom 'Email sender name' and custom 'Email sender address':

<figure><img src="https://1159009676-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMnVzL8c1pE5zXO95iUKm%2Fuploads%2FZFijd1XwIMpWXd1widJb%2FDocExportV2_EmailtemplateExample.png?alt=media&#x26;token=10eeb018-7afc-43c9-b1b7-5c7f0e31949a" alt=""><figcaption></figcaption></figure>

## **Custom Sender from People Column**

You can also use dynamic information from a people column.

Simply add the placeholder `{{Item.People}}` as your 'Email sender name'.&#x20;

If the title of your people column is 'Requester', the placeholder would be `{{Item.Requester}}`.

The 'Email sender address' can be empty and it will take the email address from the people column automatically:

<figure><img src="https://1159009676-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMnVzL8c1pE5zXO95iUKm%2Fuploads%2F4sUliuzVP9g9MlYL7DUP%2FDocExportV2_CustomTemplate.png?alt=media&#x26;token=06b57714-b2ca-4e7b-aa95-747c571603e8" alt=""><figcaption></figcaption></figure>

## Additional File Attachments

When creating your actions/automations, you can select a file column to attach additional files.

* Generate an "Item Level" document
* Go to "Actions/Automations"
* Select "Advanced Settings"
* Choose the files column which contains the files you want to attach (e.g. additional PDFs, images, etc.)

<figure><img src="https://1159009676-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMnVzL8c1pE5zXO95iUKm%2Fuploads%2FyseQsrDEBY5fMWufTvYV%2FDocExportV2_EmailTemplateWithFile.png?alt=media&#x26;token=d1aa192a-338f-4953-ad63-1bfda0b020c1" alt=""><figcaption></figcaption></figure>

## Troubleshooting

In some cases, a "Space" or a "Pipe ( | )" is not supported in email placeholders. If you're running into any issues, please modify your placeholders slightly by wrapping the column title between **\["** and **"]**.

**Example:**

Instead of `{{Item.Client Name}}` use `{{Item.["Client Name“]}}`

or if you want to format a date:

Instead of `{{Item.Expiry Date | MM-dd-yyyy}}` use `{{Item.["Expiry Date | MM-dd-yyyy"]}}`

If it still doesn't work, please reach out to our Support Team.


---

# 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://help.docexport.com/features/custom-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.
