> ## Documentation Index
> Fetch the complete documentation index at: https://docs.partnero.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create custom emails

> Write your own emails and send them to partners from automations and campaigns

Custom emails are emails you write yourself and send to partners from your program. Unlike the built-in program emails, you decide the subject, the content, and when they go out, so you can send exactly the message a moment calls for.

You can use a custom email in an [automation](https://docs.partnero.com/knowledge-base/automation/automation.md), which sends it when a partner does something specific, or in a [campaign](https://docs.partnero.com/knowledge-base/campaigns/campaigns.md), which sends it as one step in a sequence over time. Once created, a custom email appears in the email picker for both.

***

### Create a custom email

1. Go to the **Emails** page for your affiliate program and open the **Emails** tab.

   ![Image](https://mintcdn.com/partnero/TEmkLYPOWYEbFCpO/images/image-198.png?fit=max\&auto=format\&n=TEmkLYPOWYEbFCpO\&q=85\&s=ffa935ec866185b3306dcc87b43d59e2)
2. Scroll down to the **Custom emails** section and click **Create email**.

   ![Image](https://mintcdn.com/partnero/TEmkLYPOWYEbFCpO/images/image-199.png?fit=max\&auto=format\&n=TEmkLYPOWYEbFCpO\&q=85\&s=3d1089da8354cc0bf3ea46b85db416e6)
3. Under **Start from**, choose **Blank template (from scratch)**, or pick one of your existing emails (shown as **Copy:** followed by the email name) to start from a copy of its content.
4. Add the **Email name** and **Email subject**, and click **Create and edit**. The email name is for you. The subject is what partners see in their inbox. If you leave the subject empty, the subject of the template you started from is used.

   ![Image](https://mintcdn.com/partnero/TEmkLYPOWYEbFCpO/images/image-200.png?fit=max\&auto=format\&n=TEmkLYPOWYEbFCpO\&q=85\&s=5f9723ba8ae5f9f2e54d4daaf16769fa)
5. Edit the content using the same editor you use for your other program emails.
6. Click the eye icon (**Preview**) to preview the email, and the envelope icon (**Send test email**) to send yourself a test email and check the formatting.

   ![Image](https://mintcdn.com/partnero/TEmkLYPOWYEbFCpO/images/image-201.png?fit=max\&auto=format\&n=TEmkLYPOWYEbFCpO\&q=85\&s=b35bb397156b601d3066b2f3a1eda6ef)

***

### Create a custom email from an automation or campaign

You do not have to leave the builder to write an email.

* In an automation, pick the **Send email** action and click **Create new email**.
* In a campaign, add a **Send email** step and click **Create new email** on the step.

In a campaign, you can start from a blank email or from a copy of an existing one, and the new email is selected on the step as soon as it is created.

***

### Use a custom email

**In an automation.** Select the custom email in the **Send email** action picker. Custom emails appear in the same list as your other program emails. See [Automatically send emails based on partner activity](https://docs.partnero.com/knowledge-base/automation/automatically-send-emails-based-on-partner-activity.md) for the full setup.

**In a campaign.** Select the custom email in a **Send email** step. The picker lists only custom emails, so the built-in program emails are not available in campaigns. See [How to create a campaign](https://docs.partnero.com/knowledge-base/campaigns/how-to-create-a-campaign.md) for the full setup.

***

### Personalize with tags

Use tags (variables) to insert program or partner details when the email is sent.

| Tag | Inserted information |
| :- | :- |
| \{\$partner\_name} | The partner's name |
| \{\$partner\_email} | The partner's email address |
| \{\$program\_name} | The name of your program |
| \{\$program\_url} | The main website URL of your program |
| \{\$program\_email} | The contact email address your partners can use to reach you |

See [Email settings](https://docs.partnero.com/knowledge-base/program-emails/email-settings.md#tags-variables-in-emails) for where each value is taken from. The editor lists every tag available in the email you're editing.

***

### Sender details

Custom emails are sent with your program's sender settings. The sender name, sender address, reply-to address, and email styling are the ones you configured on the **Settings** tab of the **Emails** page. There are no separate sender settings for individual custom emails. See [Email settings](https://docs.partnero.com/knowledge-base/program-emails/email-settings.md).

***

### Edit, preview, or delete a custom email

You can rename, edit, preview, test, or delete a custom email at any time from **Emails** → **Custom emails**. Click the gear icon (**Settings**) to change its name or subject, or to open the editor with **Edit content**.

> [!WARNING]
>
> If you delete an email that a campaign step still uses, that step is skipped and the reason is logged. Before deleting, check which campaigns use the email.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.