Service to sending email messages to customer. Provider for sending emails is Infobip.
Information about the provider: Infobip
API
HTTP
https://infobip-email-gateway.apps.brave.safibank.online/swagger/views/swagger-ui/
POST /email/send/{emailAddress}
sends email message to the email address
Kafka
Service listens to topic commons.send-message-infobip-email.command.v2
and consumes SendEmailMessageCommandV2
.
After receiving Kafka message, uses Infobip’s SendEmailApi
to send email to the customer.
Usage
Email messages aren’t intended to be sent directly. Instead create template for required message in output-manager. Then just set channel
of POST request of generated endpoint to EMAIL
(note: there is another email service and it is responsibility of output-manager which one will be chosen).