This repo will contain the email's templates used by the selfcare projects. These templates are created using mjml.
To modify them it's possible to use:
Once completed the changes on the template, the output minified html should exported and saved together with the template itself.
The templates are deployed through Terraform project developed inside selfcare-infra repository. Thus the exported html should be provided to DEVOPS team in order to deploy it. The table below describes for each template what selfcare-infra resource to update and what k8s's deployment's pods restart (often these templates are cached, thus it's recommended to restart them).
Template | Figma | Descrizione | selfcare-infra resource | Deployment to restart | Note |
---|---|---|---|---|---|
PEC_Adesione | PEC allegato contratto | Email sent once submitted a request to onboard a party to a product | src/core/contracts_template/mail/1.0.0.json | interop-be-party-process | The html should be base64 encoded and put it inside the “body” field of the json in the selfcare-infra file |
PEC_Avvenuta_Adesione | PEC avvenuta adesione | Email sent to Manager once a signed onboarding contract will be received from selfcare | src/core/contracts_complete_template/mail/onboarding-complete/1.0.0.json | interop-be-party-process | The html should be base64 encoded and put it inside the “body” field of the json in the selfcare-infra file |
Email_AggiuntaSingoloRuolo-utente | Aggiunta di un nuovo utente / singolo ruolo | Email sent once added a new role to a user in order to allow him/her to access to a product to which the party has already been onboarded | src/core/resources/templates/email/user_added_single_role.ftlh | b4f-dashboard | |
Email_AggiuntaMultiRuolo-utente | Aggiunta di un nuovo utente / doppio ruolo | Email sent when adding multiple role to a user | src/core/resources/templates/email/user_added_multi_role.ftlh | b4f-dashboard | |
Email_Rimozione | Rimozione | Email sent when removing a role from a user | src/core/resources/templates/email/user_deleted.ftlh | b4f-dashboard | |
Email_Sospensione | Sospensione | Email sent when suspending a role to a user | src/core/resources/templates/email/user_suspended.ftlh | b4f-dashboard | |
Email_Riabilitazione | Riabilitazione | Email sent when resuming a role to a user | src/core/resources/templates/email/user_activated.ftlh | b4f-dashboard |