# eladnava/mailgen

A Node.js package that generates clean, responsive HTML e-mails for sending transactional mail.

Repository: https://github.com/eladnava/mailgen
Canonical: https://ross.abutalabs.com/products/mailgen
Language: HTML
License: Apache-2.0
License Family: permissive
Last push: 2026-08-04T06:55:09+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 35, longevity 100
- inputs: {"age_days": 3752, "days_push": 29, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2542, forks 121 (observed 2026-08-28T04:06:59.457108+00:00)

## What it is
A Node.js package that programmatically generates clean, responsive HTML emails for transactional mail, with bundled themes and plaintext output. It pairs well with nodemailer, which handles the actual sending.

## Use cases
- generate welcome emails in node.js
- create responsive html email templates programmatically
- send password reset emails with a nice design
- generate order receipt emails from javascript
- produce plaintext fallback versions of transactional emails
- brand transactional emails with a product logo and theme

## When to choose
- you need to generate transactional email HTML from Node.js without hand-writing email templates
- you want responsive, client-compatible email layouts with minimal effort
- you already use nodemailer and just need the email body

## When to avoid
- you need to send emails itself - mailgen only generates content
- you need fully custom email designs beyond the bundled themes
- your stack is not JavaScript/Node.js

## Facets
- artifact type: library
- maturity: stable
- function: templating, email
- domain: email, web-development, developer-tools
- platform: cross-platform
- tags: transactional-email, html-email, responsive-email, email-templates, nodemailer-companion, nodejs

## Member repositories
- eladnava/mailgen (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:59.457108+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-30T02:25:06.735491+00:00, confidence not recorded.
  - readme: https://github.com/eladnava/mailgen (fetched 2026-08-28T04:06:59.457108+00:00, sha a785364371ec)
- Data as of 2026-08-30T08:39:29.467469+00:00.
