# 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="/files/jW750d85nEwCME8H8nib" 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="/files/NFC1zbFgFdxfwpEgFEHN" alt=""><figcaption></figcaption></figure>

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


---

# 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.jaka.app/shopify/~/revisions/rpY9mFDjQMRHRtjRdnC9/referral-program/mail-notification-for-referrals.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.
