> ## 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.

# Refer-a-friend program emails

### What are refer-a-friend program emails?

Refer-a-friend program emails are transactional emails sent automatically to customers at key moments — when they share a referral link, log in to the referral portal, or earn a reward.

**Invitations & authentication**

* **One-Time Password (OTP) Request**: sent when a customer requests a one-time password to access the referral portal.
* **Friend invitation**: sent when a customer shares their referral link via email.
* **Friend invitation from embeddable/popup form**: sent when a customer shares their referral link via an embeddable signup form or popup.

**Reward notifications**

* **Referrer reward**: sent to the referring customer when they earn a reward.
* **Referral reward**: sent to the referred customer when they earn a reward.
* **Post-purchase reward**: sent to a customer after a purchase with a reward.
* **Birthday reward**: sent to a customer on their birthday with a reward.
* **Anniversary reward**: sent to a customer on their signup anniversary with a reward.

###

***

Enable program emails

To enable program emails:

1. Go to **Settings** under **Program**.
2. Scroll to the **Other** section. Toggle to enable the email notifications: <img src="https://mintcdn.com/partnero/zRPK-G3bX1rzMUwg/images/articles/refer-a-friend-program-emails/b5c0b7c5.webp?fit=max&auto=format&n=zRPK-G3bX1rzMUwg&q=85&s=8bc1c57339d886c897af58f4a4246460" alt="" width="2858" height="1558" data-path="images/articles/refer-a-friend-program-emails/b5c0b7c5.webp" />
3. Click **Update**.

***

### Email settings

Navigate to **Emails** under Referral. In the **Settings** tab, you’ll find the following sections:

#### 1. Default sender

| Field | Description |
| - | - |
| Sender name | The name that appears in the From field of your recipient's email client. |
| Sender email | All emails are sent from the default domain @partnero.email. Enter your preferred prefix (e.g., [yourbrand@partnero.email](mailto:yourbrand@partnero.email)). |
| Reply-to email | Optional. An inbox address to receive customer replies (e.g., your support email). |
| Email sending domains | Connect a custom sender domain using one of the options below. |

<img src="https://mintcdn.com/partnero/zRPK-G3bX1rzMUwg/images/articles/refer-a-friend-program-emails/934044b8.webp?fit=max&auto=format&n=zRPK-G3bX1rzMUwg&q=85&s=d8bfb42e70108d4af98eedf805504aa2" alt="" width="2870" height="1562" data-path="images/articles/refer-a-friend-program-emails/934044b8.webp" />

#### 2. Logo and disclaimer

Further down in the **Settings** tab, you'll find the **Logo and disclaimer** section. Add your default logo and footer information to be used in the email footer section.

#### <img src="https://mintcdn.com/partnero/zRPK-G3bX1rzMUwg/images/articles/refer-a-friend-program-emails/8f463d06.webp?fit=max&auto=format&n=zRPK-G3bX1rzMUwg&q=85&s=46e7b901440fdf600d81a71feff90fa0" alt="" width="2874" height="1562" data-path="images/articles/refer-a-friend-program-emails/8f463d06.webp" />3. Default style

Lastly, you'll see the Default style section, where you can define styling for default elements of your emails, such as:

* background color
* primary color
* text and heading color
* link color.

***

### Connect your domain for email sending

Connecting your own domain improves deliverability and makes your emails more recognizable to customers.

**Via MailerSend**

1. Under **Emails → Settings**, click **Setup** next to MailerSend.
2. Enter your MailerSend API token ([here's how to find it](https://www.mailersend.com/help/managing-api-tokens)).
3. Click **Connect**.
4. Once connected, your domain will appear under **Sender email** domain. <img src="https://mintcdn.com/partnero/zRPK-G3bX1rzMUwg/images/articles/refer-a-friend-program-emails/ed1a2d54.webp?fit=max&auto=format&n=zRPK-G3bX1rzMUwg&q=85&s=596879f9602c44fc105cc73cc5f627bb" alt="" width="2664" height="1556" data-path="images/articles/refer-a-friend-program-emails/ed1a2d54.webp" />Select it and click **Update**.

**Via custom SMTP**

1. Under **Emails → Settings**, click **Setup** next to **SMTP**.
2. Enter your server information, username, password, and From email address.
3. Click **Connect**.
4. Once connected, select the domain under **Sender email domain** and click **Update**.

**Via Gmail**

[Read how to connect your domain through Gmail →](/knowledge-base/program-emails/send-program-emails-with-gmail)

***

### Customize the email content

Each email can be edited to match your brand voice.

1. In your program, go to **Emails** under Referral. Switch to the **Emails** tab: <img src="https://mintcdn.com/partnero/zRPK-G3bX1rzMUwg/images/articles/refer-a-friend-program-emails/2dcccf11.webp?fit=max&auto=format&n=zRPK-G3bX1rzMUwg&q=85&s=6ba9af9660f497e03075b201351bb9a7" alt="" width="2876" height="1554" data-path="images/articles/refer-a-friend-program-emails/2dcccf11.webp" />
2. Click the gear icon next to the email you want to edit.  Edit the subject, content, or send a test email. <img src="https://mintcdn.com/partnero/zRPK-G3bX1rzMUwg/images/articles/refer-a-friend-program-emails/db721318.webp?fit=max&auto=format&n=zRPK-G3bX1rzMUwg&q=85&s=0ef610c36b8622bef427695dfed72387" alt="" width="2876" height="1568" data-path="images/articles/refer-a-friend-program-emails/db721318.webp" />
3. Click **Edit content** to open the email editor. Change the text and layout to fit your needs: <img src="https://mintcdn.com/partnero/zRPK-G3bX1rzMUwg/images/articles/refer-a-friend-program-emails/07bd669b.webp?fit=max&auto=format&n=zRPK-G3bX1rzMUwg&q=85&s=013c2f8ea16d536e0c79bd3ec3cd97d8" alt="" width="2878" height="1562" data-path="images/articles/refer-a-friend-program-emails/07bd669b.webp" />
4. To add additional blocks, click the + sign: <img src="https://mintcdn.com/partnero/zRPK-G3bX1rzMUwg/images/articles/refer-a-friend-program-emails/ca9cdcf8.webp?fit=max&auto=format&n=zRPK-G3bX1rzMUwg&q=85&s=adf82b79a6cb886a40b63efe06aa3ff4" alt="" width="2870" height="1534" data-path="images/articles/refer-a-friend-program-emails/ca9cdcf8.webp" />
5. Click **Save** once you're done.

***

### Receive notifications when your customers unlock rewards

To be notified when a customer unlocks a reward:

1. Click on **Settings** under **Program**.
2. Switch to the **Notifications** tab.
3. Toggle "Rewards unlocked notification" and enter your email address.<img src="https://mintcdn.com/partnero/zRPK-G3bX1rzMUwg/images/articles/refer-a-friend-program-emails/e6587062.webp?fit=max&auto=format&n=zRPK-G3bX1rzMUwg&q=85&s=3009d98c4ac4716ca7c182fd640b4d3d" alt="" width="2870" height="1566" data-path="images/articles/refer-a-friend-program-emails/e6587062.webp" />
4. Click **Update**.


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