
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
@pagopa/io-app-email-templates
Advanced tools
This repo contains the mail template(s) sent on behalf of IO App and its services. Templates are created using MJML markup language along with typescript files.
To edit them, you can choose among these following options:
To generate the HTML output you need to install the following CLI tool:
npm install -g mjml && mjml <MJML_INPUT_FILE> -o <OUTPUT_FILE>
Steps:
apply
method in a typescript file named applier.template.ts
inside your template directory.package.json
(follow the other scripts as example). This will generate an index.ts
file with the template inside.
Make sure to put {{TEMPLATE}}
in the method that is going to be replaced with the HTML generated from the mjml file.In order to release a new version:
You can check here if the new version has been published once the publish action is completed.
Templates are compatible with the following clients:
FAQs
Common html template for email
We found that @pagopa/io-app-email-templates demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.