# Nodemailer: 8.1 out of 10

A strong pick. 2nd of 9 in [Email libraries](https://elestia.ai/opensource/email/index.md).

Nodemailer is the standard Node.js library for sending email over SMTP and through transports such as SES. It is mature, has no dependencies and is very actively maintained, so it is a strong pick for new projects. It does not render templates, so most teams pair it with React Email or MJML.

**Best for:** Node.js backends that send through their own SMTP server or Amazon SES and want no lock-in to a vendor.

## Scores

- **Overall: 8.1** (likely 7.1 to 9.0)
  - Claude Opus 5.5 (8.0): It is the default open-source way to send email from Node, and maintenance is active with almost no backlog. Its use is the widest in the category. It does not render, so it pairs with React Email or MJML rather than replacing them. Teams that want a hosted API on edge runtimes do better with Resend. The steady flow of parser advisories and yearly major versions keeps it below 9.
  - GPT-6.2 Sol (8.2): Nodemailer is the strongest choice among these peers for provider-independent SMTP sending from Node.js. React Email complements it for templates, while the Resend SDK is simpler when a project has chosen Resend or its host blocks SMTP. The single-maintainer setup and recent upgrade friction keep it below a default recommendation for the whole category.
- **Needed by many: 6.0** (likely 4.8 to 7.0)
  - Claude Opus 5.5 (6.0): Most web app backends send transactional email at some point, so a large group needs this job. Nodemailer covers only the sending half and only on Node-style runtimes. Edge platforms and teams that use a provider's own SDK do not need it.
  - GPT-6.2 Sol (5.9): Transactional email is a common need for web backends, and SMTP lets teams use many different providers. Nodemailer targets Node.js and also supports Bun and a subset of features on Cloudflare Workers. Developer surveys show that Node.js is widespread, but offer little evidence about how many teams need direct SMTP access.
- **Helps a lot: 8.2** (likely 7.1 to 9.2)
  - Claude Opus 5.5 (8.0): It is the most complete open-source SMTP client for JavaScript. It handles pooling, DKIM, OAuth2, SES, streams, attachments and an addressparser with years of fixes for edge cases. AI agents write correct code for it easily because its API has stayed stable for a long time. It does no templating, and debugging SMTP setup is still painful, which keeps it below 9.
  - GPT-6.2 Sol (8.4): Version 10.6.1 combines mature SMTP controls, connection pooling, and MIME composition with bundled types and a documented error reference. Those give developers and coding agents clear examples and typed inputs for routine sends. React Email and MJML cover responsive rendering, and independent performance and coding-agent results for v10 are sparse.
- **Holds up over time: 7.5** (likely 6.3 to 8.5)
  - Claude Opus 5.5 (7.5): Activity is very high: 350 commits and 58 releases in the past year, 0 open issues, and a project that has run for 15 years. Andris Reinman is the main maintainer and backs it through his commercial EmailEngine work, so the project leans on one person. Three major releases in 2026 brought small breaking changes, such as Node 20 now being required, error code renames and stricter TLS.
  - GPT-6.2 Sol (7.4): The project shipped 58 releases and recorded 350 commits in a year, and a recent SMTP request reached a release in four days. The v10 migration raised the Node.js minimum, and users reported type regressions that needed follow-up fixes. Forward Email reports sponsoring the work, but the project names one maintainer and backup release access is unclear.
- **Used widely: 8.4** (likely 7.4 to 9.2)
  - Claude Opus 5.5 (9.0): Nodemailer had about 150M downloads in 4 weeks, up from 29M a year ago. That ratio of 5.1 is above the 4.1 median, so it is gaining ground. Many downloads come in transitively through Auth.js, CMSs and other tools. Even so, 214,737 dependent repositories is roughly ten times the next peer, which points to hundreds of thousands of direct choices.
  - GPT-6.2 Sol (7.8): Ecosyste.ms tracks about 215,000 repositories and 5,947 packages depending on Nodemailer, comfortably ahead of the listed peers. Downloads rose 5.1× year over year, above the 4.1× catalog baseline, while React Email and Resend grew faster from smaller bases. Automated installs and framework dependencies blur how many teams chose it recently, and the two tracked Bluesky posts add little evidence about that.
- **Vouched for: 7.8** (likely 6.7 to 8.8)
  - Claude Opus 5.5 (7.5): Major frameworks and products build on it, including the Auth.js email provider, Strapi, Payload and Ghost. Independent guides still name it the default for SMTP and SES sending. Survey data and independent benchmarks are scarce, and online buzz is small (1 HN story, 2 Bluesky posts), so the range stays wide.
  - GPT-6.2 Sol (8.0): Payload and Auth.js maintain integrations, and NestJS Mailer builds its SMTP support on Nodemailer. A user running a transactional email worker also reports using pooled SMTP in practice. These sources validate the sending role, while evidence on developer satisfaction and comparative performance for v10 remains thin.
- **Safe: 6.5** (likely 5.4 to 7.6)
  - Claude Opus 5.5 (6.0): It has zero dependencies and the permissive MIT-0 licence. It also had 24 advisories in 24 months, all moderate and mostly in address parsing and DoS, and fixes shipped quickly. The Scorecard is 5.9, with weak Code-Review, Token-Permissions, Fuzzing and SAST checks, and one person publishes it. A malicious package once impersonated it, so users should check the package name.
  - GPT-6.2 Sol (7.0): The core package has zero runtime dependencies, uses the permissive MIT-0 licence, and publishes from GitHub Actions with npm provenance. The current release includes October SMTP fixes that were available by disclosure and a November recipient-domain fix shipped on disclosure day. Scorecard's weak token permissions and code review checks, plus uncertain backup publishing access, limit confidence in the release process.

## Good

- It has no runtime dependencies and uses the permissive MIT-0 licence.
- It covers SMTP fully: pooling, DKIM signing, OAuth2, attachments, an SES transport and a verify() check.
- It is very actively maintained: 350 commits and 58 releases in the last year, with no open issues.
- Ecosyste.ms finds about 215k dependent repositories, far more than any peer. Auth.js, Strapi and many CMSs build on it.

## Bad

- It only sends mail. Templating and responsive HTML need a separate tool such as React Email or MJML.
- There were about 24 moderate advisories in 24 months, mostly in address parsing and DoS. Users must keep upgrading.
- Three major versions shipped in 2026 (8, 9 and 10). Each had small but real breaking changes.
- It needs Node's TCP sockets, so it does not run on edge or serverless runtimes that lack them. Hosted APIs such as Resend do.

## The numbers

- Downloads, 4 weeks: 150M
- In a year: ×5.1
- GitHub stars: 18k
- Commits, 12 months: 350
- Last npm release: Nov 2026
- Advisories, 24 months: 24
- Licence: MIT-0
- GitHub: https://github.com/nodemailer/nodemailer
- npm: https://www.npmjs.com/package/nodemailer

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
