> For the complete documentation index, see [llms.txt](https://docs.jaka.app/shopify/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jaka.app/shopify/~/revisions/rpY9mFDjQMRHRtjRdnC9/referral-program/mail-notification-for-referrals.md).

# Mail notification for referrals

Jaka sends emails notification to referrer (the initial customers who promote your  products) when&#x20;

* referrer register to get the referral link&#x20;
* a new customer purchase product via that promote link

&#x20;1\. Open the app > click **Mail notifications**  > **Referrals**

&#x20;2\. Enable the email template you want to use to send email to referrer

<figure><img src="https://2078839253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvdV1PFu8mN1B3K5QZCrx%2Fuploads%2F5rNShULdifwGjNZvVV9P%2F2024-07-03_15-29-25.png?alt=media&amp;token=19b1011d-f9e7-470b-89af-b79a1ece3825" alt=""><figcaption></figcaption></figure>

&#x20;3\. Edit the email subject and content, add variables to the template to display data you want

<figure><img src="https://2078839253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvdV1PFu8mN1B3K5QZCrx%2Fuploads%2FW4MsPgcHDdX11g3t24Yv%2F2024-07-03_15-30-09.png?alt=media&amp;token=cb858621-e1dd-471b-b93b-c1f999fc5a61" alt=""><figcaption></figcaption></figure>

4. Click **Save**&#x20;
