Email Templates
Node.js library for creating, previewing and sending custom email templates.
Email Templates is a Node.js library for creating, previewing and sending email templates. Each message is a folder of template files: one for the HTML body, one for the subject and an optional one for plain text. The default engine is Pug, and the README names EJS as another option. The library renders the templates with the values passed in, inlines the CSS of linked stylesheets and returns the result for sending or rendering.
Sending goes through a Nodemailer transport, and the library can also stop after rendering. Localization uses an i18n configuration object that is passed to the library.
Worth knowing
Preview is an optional dependency. It opens rendered emails in a browser or the iOS Simulator during development, and the README treats it as a development aid. The README recommends Forward Email as the transport, a separate service the user chooses.
Identity
Releases
Adoption
Sources
- 2026-11-08: links, Written in, License, GitHub stars
api.github.com/repos/forwardemail/email-templates - 2026-11-08: First release
registry.npmjs.org/email-templates - 2026-11-08: Maintainer, License model
github.com/forwardemail/email-templates/blob/master/LICENSE - 2026-11-08: Categories, Runtime, Templating, Multilingual
github.com/forwardemail/email-templates/blob/master/README.md - 2026-11-08: Minimum runtime
github.com/forwardemail/email-templates/blob/v13.0.1/package.json - 2026-11-08: Current major version, Last release
github.com/forwardemail/email-templates/releases/tag/v13.0.1 - 2026-11-08: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/email-templates - 2026-11-08: Contributors
api.github.com/repos/forwardemail/email-templates/contributors?per_page=1 - 2026-11-08: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/email-templates