/
Email sending
Email sending
Some services such as password reset require that emails are sent to the user. As the users interact with these emails directly, they typically contain customer-specific customizations or translations.
To deal with this, we use an email sender service to handle emails. At the moment, we are using SendGrid to send emails to users.
For each type of email sent by the backend, a template must be created in the emailer service. Whenever an email is to be sent, the backend will send a request to the email service with the relevant template ID and dynamic template data. The email sender service is then responsible for rendering and delivering the email to the user.
Currently used templates:
Purpose | Dynamic data | Sent when | More information |
---|---|---|---|
Password reset | code, email | A user requests their password to be reset. | Changing user password |