Home

Awesome

selfcare-email-templates

This repo will contain the email's templates used by the selfcare projects. These templates are created using mjml.

How to apply changes

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.

How to deploy changes

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).

Stored Templates

TemplateFigmaDescrizioneselfcare-infra resourceDeployment to restartNote
PEC_AdesionePEC allegato contrattoEmail sent once submitted a request to onboard a party to a productsrc/core/contracts_template/mail/1.0.0.jsoninterop-be-party-processThe html should be base64 encoded and put it inside the “body” field of the json in the selfcare-infra file
PEC_Avvenuta_AdesionePEC avvenuta adesioneEmail sent to Manager once a signed onboarding contract will be received from selfcaresrc/core/contracts_complete_template/mail/onboarding-complete/1.0.0.jsoninterop-be-party-processThe html should be base64 encoded and put it inside the “body” field of the json in the selfcare-infra file
Email_AggiuntaSingoloRuolo-utenteAggiunta di un nuovo utente / singolo ruoloEmail 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 onboardedsrc/core/resources/templates/email/user_added_single_role.ftlhb4f-dashboard
Email_AggiuntaMultiRuolo-utenteAggiunta di un nuovo utente / doppio ruoloEmail sent when adding multiple role to a usersrc/core/resources/templates/email/user_added_multi_role.ftlhb4f-dashboard
Email_RimozioneRimozioneEmail sent when removing a role from a usersrc/core/resources/templates/email/user_deleted.ftlhb4f-dashboard
Email_SospensioneSospensioneEmail sent when suspending a role to a usersrc/core/resources/templates/email/user_suspended.ftlhb4f-dashboard
Email_RiabilitazioneRiabilitazioneEmail sent when resuming a role to a usersrc/core/resources/templates/email/user_activated.ftlhb4f-dashboard