# forwardemail/email-templates

Create, preview (browser/iOS Simulator), and send custom email templates for Node.js.  Made for @forwardemail, @ladjs, @cabinjs, @spamscanner, and @breejs.

Repository: https://github.com/forwardemail/email-templates
Canonical: https://ross.abutalabs.com/products/email-templates
Homepage: https://forwardemail.net/docs/send-emails-with-node-js-javascript
Language: JavaScript
License: MIT
License Family: permissive
Topics: nodejs, email, templates, template-engine, juice, pug, ejs, custom, node, inline, css, inline-css, responsive, template, nodemailer, postmark, mandrill, sendgrid, mailchimp, webresource
Last push: 2025-12-31T18:11:37+00:00

## Health v2 (maintenance only)
Score: 61/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 60, release rhythm 39, longevity 100
- inputs: {"age_days": 5192, "days_push": 245, "days_rel": 245, "gap_med": 96, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3739, forks 333 (observed 2026-08-28T04:08:15.898900+00:00)

## What it is
A Node.js library for creating, previewing, and sending custom email templates with automatic CSS inlining. It integrates with Nodemailer and supports multiple template engines like Pug and EJS, with browser and iOS Simulator previews.

## Use cases
- send transactional emails with html templates in nodejs
- inline css for responsive email templates
- preview email templates in browser during development
- render pug or ejs templates into emails
- send localized emails with nodemailer
- create welcome or password reset email templates

## When to choose
- you build Node.js apps that send templated transactional emails
- you need automatic CSS inlining for email client compatibility
- you want local email previews in a browser or iOS Simulator
- you use Nodemailer and want a template layer on top

## When to avoid
- you need a full email marketing or campaign platform
- your stack is not Node.js
- you only send plain-text emails without templates
- you want a drag-and-drop visual email builder

## Facets
- artifact type: library
- maturity: active
- function: templating, email, middleware
- domain: email, web-development, backend, developer-tools
- platform: cross-platform
- tags: email-templates, nodemailer, inline-css, pug, ejs, email-preview, transactional-email, juice, nodejs

## Member repositories
- forwardemail/email-templates (main) score 61

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:15.898900+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:29:08.494886+00:00, confidence not recorded.
  - readme: https://github.com/forwardemail/email-templates (fetched 2026-08-28T04:08:15.898900+00:00, sha 1672c4d7d91d)
  - homepage: https://forwardemail.net/docs/send-emails-with-node-js-javascript (fetched 2026-08-29T09:24:20.437587+00:00, sha 8bf813e8f81f)
  - site_page: https://forwardemail.net/en/blog/docs/best-quantum-safe-encrypted-email-service (fetched 2026-08-29T09:24:20.447572+00:00, sha 569f245e2665)
  - site_page: https://forwardemail.net/docs/how-to-javascript-contact-forms-node-js (fetched 2026-08-29T09:24:20.453525+00:00, sha a3e60d1aba82)
  - site_page: https://forwardemail.net/en/blog/docs (fetched 2026-08-29T09:24:20.456775+00:00, sha b381f57f7573)
  - site_page: https://forwardemail.net/en/blog/docs/how-npm-packages-billion-downloads-shaped-javascript-ecosystem (fetched 2026-08-29T09:24:20.471922+00:00, sha f93a14c4fbed)
  - site_page: https://forwardemail.net/en/blog/docs/amazon-workmail-migration-guide (fetched 2026-08-29T09:24:20.474980+00:00, sha de795ebaa8cb)
  - site_page: https://forwardemail.net/en/faq (fetched 2026-08-29T09:24:20.450044+00:00, sha d34a913385cf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
