Elestia Open Source Ratings
8.1

Nodemailer

A strong pick. 2nd of 9 email libraries.

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.

WebsiteGitHubnpm

Scores

Overall8.1

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 8.0, likely 7.0 to 8.7

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, likely 7.1 to 9.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 many6.0

How many developers need a tool for this job?

Claude Opus 5.5: 6.0, likely 5.0 to 7.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, likely 4.6 to 7.0

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 lot8.2

How well does it do the job for those who need it?

Claude Opus 5.5: 8.0, likely 7.0 to 9.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, likely 7.2 to 9.3

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 time7.5

Will it still be a good choice in two years?

Claude Opus 5.5: 7.5, likely 6.5 to 8.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, likely 6.1 to 8.5

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 widely8.4

How many use it, and is that growing?

Claude Opus 5.5: 9.0, likely 8.0 to 9.5

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.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 149.8M vs 29.4M, a ratio of 5.1 against the 4.1 median
  • dependents: 214,737 repositories and 5,947 packages; SendGrid is next with 24k
  • github stars: 17.7k stars

GPT-6.2 Sol: 7.8, likely 6.7 to 8.9

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.

  • dependents repos, packages: 214,737 tracked repositories and 5,947 npm packages.
  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: 149.8 million versus 29.4 million downloads, against a 4.1× baseline.
  • peers dependentRepos, downloadsLast4Weeks, downloadsSame4WeeksYearAgo: SendGrid has about 24,000 tracked repositories, while Resend and React Email grew 15.8× and 8.3×.
  • bluesky posts: Two posts linked to the repository in the tracked period.
  • nest-modules.github.io/mailer/guide/getting-started: A downstream mailer uses Nodemailer for several transports.
Vouched for7.8

Who stands behind it being good?

Claude Opus 5.5: 7.5, likely 6.5 to 8.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, likely 6.8 to 9.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.

Safe6.5

How safe is it to depend on?

Claude Opus 5.5: 6.0, likely 5.0 to 7.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.

  • advisories: 27 in total, 24 in 24 months, recent ones moderate
  • scorecard: 5.9 overall; Code-Review 2, Token-Permissions 0, Fuzzing 0
  • npm dependencies / license: 0 dependencies, MIT-0
  • tuxcare.com/cve-tracker/cve/details/ghsa-8c8m-p3m8-cjg8: addressparser comment bug affecting 3.0.0 to 10.1.3, CVSS 6.5
  • hackerNews top: A malicious package impersonated Nodemailer

GPT-6.2 Sol: 7.0, likely 5.8 to 8.1

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

npm downloads, 4 weeks
150M ×5.1 in a year
GitHub stars
18k
Commits, 12 months
350
npm version
10.6.1 Nov 2026
Versions, 12 months
58
Advisories, 24 months
24 of 27 ever
OpenSSF Scorecard
5.9 out of 10, Nov 2026
Licence
MIT-0

Read on 21 November 2026 from GitHub (nodemailer/nodemailer), npm (nodemailer), OSV and the OpenSSF Scorecard.

Email libraries

  1. 8.2React Email
  2. 8.1Nodemailer
  3. 7.5Resend SDK
  4. 7.3MJML
  5. 6.7Postmark.js
  6. 6.3Maizzle
  7. 6.3Mailgun.js
  8. 4.9SendGrid SDK
  9. 4.7Email Templates
Compare all 9 on six scores