Overview

The objective of this service is to create a common point to manage all the email notifications being sent out of the platform. Notification email service consumes emal requests from the kafka notification topic and process them to send it to an third party service. Modules like PT, TL, PGR etc make use of this service to send messages through the Kafka Queue.

Pre-requisites

Before you proceed with the documentation, make sure the following pre-requisites are met -

Key Functionalities

Configuration Details


egov-notification-mail is a consumer which listens to the egov.core.notification.email topic, reads the message and generates email using SMTP Protocol. The services needs the the senders email configured. On the other hand, if senders email is not configured, the services gets the email id by internally calling egov-user service to fetch email id. Once the email is generated, the content is localized by egov-localization service after which its been notified to the email id.

Deployment Details

  1. Deploy the latest version of notification email Service.

  2. Make sure the consumer topic name for email service is added in deployment configs

Integration

Integration Scope

The email notification service is used to send out email notifications for all miscellaneous / adhoc services which citizens avail from ULBs.

Integration Benefits

Steps to Integration

  1. To integrate, the client service should send email requests to email notification consumer topic.