# Email Notifications

Email is a widely used and reliable channel for sending payment-related notifications to customers. It provides an easy and secure way to communicate important payment details, such as payment confirmation, status updates, and any actions performed on the transaction (e.g., refunds, voids).&#x20;

## [**Prerequisites**](#prerequisites)

To ensure Email notifications function smoothly, certain prerequisites must be met:

* **Customer Email**: The customer’s email field must be mandatory and provided during the creation of the payment transaction. To add the customer email and set it as a mandatory field, please contact [Ottu support team](mailto:support@ottu.com). <br>

  <figure><img src="https://content.gitbook.com/content/Tq4lCgHh9X4VXINxI3L9/blobs/rWp1WUon8wxksCyj8idY/image.png" alt=""><figcaption></figcaption></figure>
* **Template Configured**: Ensure the email template is fully configured and reviewed for accuracy and completeness before enabling email notifications. To configure Email template, please contact [Ottu support team](mailto:support@ottu.com).
* **Enabling Email Templates:** Merchants can enable these templates by selecting the appropriate checkboxes during the payment transaction creation process, either before or after the payment, based on the specific requirement.<br>

  <figure><img src="https://content.gitbook.com/content/Tq4lCgHh9X4VXINxI3L9/blobs/tBQff4lcABbthwagziFG/image.png" alt=""><figcaption></figcaption></figure>

  ## [Email Notification Availability](#email-notification-availability)

  Ottu sends email notifications to customers based on specific states in the payment lifecycle.&#x20;

  ### [Pre/Post Payment States](#pre-post-payment-states)

  Email notifications are triggered for the following payment states:

  * `created`
  * `paid`
  * `authorized`
  * `canceled`
  * `failed`
  * `expired`

  For more information about these payment states, please refer to the [Parent Payment States ](https://sandbox-doc.gitbook.io/ottu-team-sandbox-doc/payment-tracking/payment-transactions-states#parent-states)section.

  ### [**Operation States**](#operation-states)

  Email notifications are triggered for the following operation states:

  * `captured`
  * `refunded`
  * `voided`

  For more details on these operation states, please refer to the [Operation Clauses](https://sandbox-doc.gitbook.io/ottu-team-sandbox-doc/payment-gateway#operations-clauses) section.

  <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>For the <a href="../plugins/e-commerce">E-Commerce</a> plugin, the Pre payment email notification is not available.</p></div>
