# Create Email Notification Manager

## Description

This guide will provide the steps to create an Email Notification Manager.

## Pre-requisites

The user should have a Program Manager role assigned.

## Steps

1. Navigate to *Programs* using the menu bar.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2Fgit-blob-a0d181abf7abba8d690aaca35e17aadbef96adff%2Fprograms.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Click on *Configuration* and select *Email Notification Manager.*

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FLBDzwPB5FaWiiCRWdWq1%2Femail-conf-drop-down.PNG?alt=media&#x26;token=61931e1f-3411-4210-a960-353dc79bf73e" alt=""><figcaption></figcaption></figure>

3. Click the *Create* button to go to the Email Notification Managers view.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2Fhin0kTHQ48geYuqGbnuW%2Fcreate-email-conf.png?alt=media&#x26;token=39f573d4-c956-496d-8e5b-07af4ec797e7" alt=""><figcaption></figcaption></figure>

4. Enter the *Name* and *Program* in the *Email Notification Managers* view.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FWO5GdE2n7yofAuZIF6vz%2Femail-template-name-program.PNG?alt=media&#x26;token=3c950b5f-1995-4609-bdfc-822ef9a7ca4d" alt=""><figcaption></figcaption></figure>

5. The view allows the configuration of a template for each of these event types:

* *On Enrolled In Program Template*
* *On Cycle Started Template*
* *On Cycle Ended Template*
* *On Otp Send Template*
* *On Generate Voucher Template*

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FHrxfN8fHeKzWHXlA0OdU%2Femail-template.PNG?alt=media&#x26;token=3cdf0934-ede5-42f9-809a-a7be79590e69" alt=""><figcaption></figcaption></figure>

There are two ways to configure a template for an event:

a. Use an existing template: Go to step#6.

b. Create a new template: Go to step#7.

6. Click on the drop-down button and select the template from the drop-down list. Go to step#11.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2F4pDVLH4auxtDqxiHkUjR%2Femail-select-drop-down.png?alt=media&#x26;token=f9b8b741-bb82-4d82-9d96-85fa86848063" alt=""><figcaption></figcaption></figure>

7. Enter a name for the new template. When a non-existing template name is entered, the option *Create and Edit* appears. Click on this option\_.\_

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FYKvlfmXDRuDu1WA2K4On%2Fotp-temp.png?alt=media&#x26;token=498e5bef-f7f4-407d-814b-ad35e6767306" alt=""><figcaption></figcaption></figure>

8. A new dialogue box appears. Enter the details.

* *Name*: Name of the template
* *Applies to*: Applicable context; For example, the option *Contact* sends the mail to the beneficiary email
* *Content*: *Subject* and matter for the email written using the Odoo platform's [QWeb](https://www.odoo.com/documentation/16.0/developer/reference/frontend/qweb.html) templating engine
* *Attachments*: Attachments to be sent with the email

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FH7GHB62hMFQLREI8etPf%2Fcontent-email-notification.PNG?alt=media&#x26;token=0a2a8fbe-87be-40ff-aeba-c230f2bd0220" alt=""><figcaption></figcaption></figure>

9. Click on *the Email Configuration* sub-tab.

* *From*: Author's email id
* *Default Recipients*: Enable the box to send email to default recipients
* *To (Emails)*: Recipient email address
* *To (Partners)*: Comma-separated emails of the program partners
* *Cc*: Comma-separated emails of the recipients to be copied for this email
* *Reply To*: The email that the recipient can reply to
* *Scheduled Send Date*: The date on which the mail will be sent

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FVs9aZc4zAzHUzUdQ67Md%2Fconf-email-notification.PNG?alt=media&#x26;token=d126e2cd-3733-4ba0-af3f-314529be63d1" alt=""><figcaption></figcaption></figure>

10. Click on the *Advanced Settings* sub-tab.

* *Language*: Language for the content
* *Outgoing Mail Server*: Outgoing mail server
* *Auto Delete*: If enabled, the email is deleted automatically
* *Optional report to print and attach:* Optional field for reports

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FENEt4gtyFPN0FrIwGsVS%2Fadv-settings-sms-notifications.PNG?alt=media&#x26;token=f64dc0b8-8595-407f-b1c4-6d632ee92572" alt=""><figcaption></figcaption></figure>

11. Optionally, enable the checkbox *Send Immediately* to send the email notification to beneficiaries immediately after the program enrollment, at the start of the cycle, and at the end of the cycle.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FUTFLQRdF4gz8zMvqw4Vz%2Femail-save.PNG?alt=media&#x26;token=6398c7bd-be5e-4368-af95-44b82b4effc6" alt=""><figcaption></figcaption></figure>

12. Click on *Save*.
