# Email Notification

The WP Relay plugin has inbuilt email templates which can be configured and categorized by the store owner.&#x20;

{% embed url="<https://youtu.be/G3rJ42HH7mI>" %}

There are 7 email templates available in WPRelay. Out of 7, 2 emails will be sent only to administrators and the remaining 5 will be sent only to Affiliates. The emails are:&#x20;

**For administrators:**&#x20;

* **New Affiliate Registration Email:** This email alert is sent directly to the store owner when a new affiliate registers on the platform.
* **New Affiliate Sale Email:** This email is sent to the store owner when an affiliate generates a sale for you.

{% hint style="info" %}
Haven't yet purchased the WPRelay PRO?

[Buy WPRelay PRO](https://wprelay.com/pricing/)
{% endhint %}

**For affiliates:**&#x20;

* **Affiliate Approved Email:** This Email is sent to the affiliate upon approval of their account in the program.
* **Affiliate Rejected Email:** This Email is sent to the affiliate upon the rejection of their account in the program.
* **Commission Approved Email:** This Email is sent to the affiliate upon approval of their commission.
* **Commission Rejected Email:** This Email is sent to the affiliate upon rejection of their commission.
* **Payment Processed Email:** This Email is sent to the affiliate when their payments are completed.

**For example, here is a screenshot of an email when an affiliate account is approved:**

<figure><img src="https://1009383311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FspvikC1Fs25d4Na1nzwM%2Fuploads%2FXVEIBvN6Ujxcur4AkejJ%2Fscreenshot-g-mailinator-com.nimbusweb.me-2024.04.17-16_00_46.png?alt=media&#x26;token=ab8fce8f-6455-45c5-87d6-c48e78e73642" alt=""><figcaption></figcaption></figure>

**How to enable/disable the emails?**

**Step 1:** Go to the WPRelay -> Settings -> Email Settings

Using this toggle, we can enable/ disable each Email and save the changes.&#x20;

**Affiliate Emails**&#x20;

<figure><img src="https://1009383311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FspvikC1Fs25d4Na1nzwM%2Fuploads%2FBetQvG1QqkSRBoUz2yf1%2Fscreenshot-localhost-2024.04.17-16_03_51.png?alt=media&#x26;token=4448af47-9dfd-4dbc-a87e-24e691225b28" alt=""><figcaption></figcaption></figure>

**Admin Emails**

<figure><img src="https://1009383311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FspvikC1Fs25d4Na1nzwM%2Fuploads%2FmRCkRmT09C3I4wtIFceD%2Fscreenshot-localhost-2024.04.17-16_04_22.png?alt=media&#x26;token=d73bc778-1415-4c66-8e9b-a12422bd49f2" alt=""><figcaption></figcaption></figure>

**Customizing the Email template**

It is possible to modify the Email template using the default WooCommerce Email editor. However, if you wish to alter the email template design, you'll need to create an override for the email template in your theme. Here are the paths for each template to create an override:

There is a simple method to override the file in just a single click.

Here are a few steps to customize the mail:

**STEP 1:** Navigate to WooCommerce -> Settings -> Emails -> click on the Manage button

<figure><img src="https://1009383311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FspvikC1Fs25d4Na1nzwM%2Fuploads%2FdOKsZw4VKbIvTkq0BLCs%2Fscreenshot-localhost-2024.04.18-18_29_47.png?alt=media&#x26;token=29641b34-3051-4766-a10a-e804728353f2" alt=""><figcaption></figcaption></figure>

**STEP 2:** Click on the copy file to the theme, which will automatically create an override on your template folder

<figure><img src="https://1009383311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FspvikC1Fs25d4Na1nzwM%2Fuploads%2FmplTCGwCqYSifIZ76dqE%2Fscreenshot-localhost-2024.04.18-18_48_03.png?alt=media&#x26;token=23a028cc-bb8c-4aec-aafc-8e5cd0d1c40b" alt=""><figcaption></figcaption></figure>

**STEP 3**: Click on "**View Template**"

<figure><img src="https://1009383311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FspvikC1Fs25d4Na1nzwM%2Fuploads%2FvAxTVAEDOFOg17lE6FOQ%2Fscreenshot-localhost-2024.04.18-18_57_11.png?alt=media&#x26;token=103d714a-23af-4560-b874-fcf74beeaf0c" alt=""><figcaption></figcaption></figure>

**STEP 4**: By clicking "view template", you can customize your email templates.

<figure><img src="https://1009383311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FspvikC1Fs25d4Na1nzwM%2Fuploads%2F7KEPuEEcf4qpPsHd9Mwj%2Fscreenshot-localhost-2024.04.18-19_00_34.png?alt=media&#x26;token=cca863e6-bc3e-44a8-9111-07db3b83d43e" alt=""><figcaption></figcaption></figure>

Once the files are overridden in your theme folder, you can then edit the overridden file and make your changes.&#x20;

After making changes, By clicking "save changes" you can save the file.

{% hint style="info" %}
Haven't yet purchased the WPRelay PRO?

[Buy WPRelay PRO](https://wprelay.com/pricing/)
{% endhint %}

**Next Steps:**

**You may also want to check out these helpful guides:**

* [For more information about the Affiliate Registration Page, please refer to this document.](https://docs.wprelay.com/manage-affiliates/creating-an-affiliate-registration-form)
* [Explore this guide to learn about various methods to become an affiliate.](https://docs.wprelay.com/manage-affiliates/becoming-an-affiliate)
* [Learning how to configure the General Settings page.](https://docs.wprelay.com/settings/general-settings)

**Still Unclear?**

If you need any assistance, please create a [support request](https://wprelay.com/support/) in our ticket system. We are always happy to assist you :)
