email-templates
Create, preview, and send custom email templates for Node.js with Pug, EJS, and Handlebars.
Why consider email-templates?
email-templates is an open-source template compilation and email sending framework for Node.js written by Nick Baugh (Forward Email). It renders dynamic variables across Pug, EJS, and Handlebars templates, auto-inlining CSS styles, generating text fallbacks, and supporting localized translations.
Learn email-templates by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of email-templates
email-templates compiles localized newsletter templates and marketing announcements in Node.js.
Quickstart
npm install email-templatesimport Email from 'email-templates';const email = new Email({ message: { from: 'support@company.com' }, send: true, transport: { jsonTransport: true } });await email.send({ template: 'welcome', message: { to: 'user@example.com' }, locals: { name: 'Alex' } });email-templates is licensed under the permissive MIT License.
Related tools
More options with a similar category or technology profile.
FlowInquiry
Interactive user research surveys and customer satisfaction polling platform.
Mailcoach
Self-hosted email newsletter and drip campaign platform built on Laravel.
phpList
World-proven open-source newsletter manager and email campaign marketing platform.
django-newsletter
Newsletter and subscriber campaign application built for Django websites.