Overview
Service to sending email messages to customer. Provider for sending emails is Macrokiosk.
Information about the provider:Macrokiosk
API
HTTP
https://macrokiosk-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-macrokiosk-email.command.v2
and consumes SendEmailMessageCommandV2
.
After receiving Kafka message, service triggers HTTP request to Macrokiosk 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).