Home

Awesome

pagopa-email-templates

This repo contains the mail templates used by pagoPA, created using MJML markup language.

How to apply changes

To edit them, you can choose among these following options:

To generate the HTML output you need to install these CLI tools:

  1. MJML package:
$ npm install --g mjml
  1. Handlebars CLI to render handlebars templates:
$ npm install --g hbs-cli

For the specific commands, take in consideration the local README files:

  1. Receipt · Success
  2. Receipt · KO

How to deploy changes

All the mail are sent through pagopa-notifications-service.

PDF Receipt

If you're looking for the relative PDF receipt, please refer to the pagopa-template-receipt-pdf

Compatibility

Templates are compatible with the following clients:

Related mail templates