Elestia Open Source Ratings
4.9

SendGrid SDK

Keep, but not for new work. 8th of 9 email libraries.

@sendgrid/mail is Twilio SendGrid's official Node.js client for sending mail through the paid SendGrid service. It still works and many existing apps run it. But the repository has had no commits and no release in the last year, so for new work Resend's SDK, or Nodemailer with any SMTP provider, is the better pick.

Best for: Teams already on SendGrid, or tied to Twilio for compliance, SMS or marketing email, that need a Node client for its v3 Mail Send API.

WebsiteGitHubnpm

Scores

Overall4.9

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

Claude Opus 5.5: 4.0, likely 3.0 to 5.0

Keep it where SendGrid is already the provider, but for new projects pick Resend's SDK, or Nodemailer with any SMTP provider. The SDK has had no commits or releases for a year, leaves its dependency-security PRs unanswered and is growing below the median. Its large installed base and Twilio's backing keep it from scoring lower.

GPT-6.2 Sol: 5.7, likely 4.5 to 6.9

SendGrid is a reasonable choice when a new Node.js project already has a SendGrid account or depends on its hosted templates. For teams free to choose, Resend has a more active SDK with direct React Email support, and Nodemailer offers more flexibility across SMTP providers. The release gap and open TypeScript issue weigh more heavily than the large installed base, and uncertainty about future maintenance keeps the range wide.

Needed by many4.3

How many developers need a tool for this job?

Claude Opus 5.5: 4.0, likely 3.0 to 5.0

Many web apps need to send transactional email, but this package only serves people who use the SendGrid service. It covers only the sending part of the job, not writing or rendering. That makes it a vendor-specific slice of a broad category.

GPT-6.2 Sol: 4.5, likely 3.3 to 5.8

Account verification, receipts, and notifications give application email a broad audience. This SDK serves the narrower group of Node.js teams that send through Twilio SendGrid. The developer survey measures Node.js use, so the share of developers who need this specific integration remains uncertain.

Helps a lot5.7

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

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

It sends mail through SendGrid's v3 API without trouble and supports dynamic templates and personalizations. Its type definitions have open bugs, UTF-8 header and batch-send issues have gone unanswered, and it still uses axios when native fetch would do. Resend's SDK gives a more modern, fully typed experience for the same job.

GPT-6.2 Sol: 6.4, likely 5.2 to 7.5

Version 8.1.6 has a simple send API, clear examples, and support for attachments, personalization, and hosted templates. The published package includes TypeScript declarations despite the bundle’s types flag, and users report that some named imports fail under TypeScript 7. Local rendering takes a separate tool, and there is little direct evidence on SDK performance or coding-agent accuracy.

Holds up over time3.5

Will it still be a good choice in two years?

Claude Opus 5.5: 3.0, likely 2.0 to 4.0

The repository shows zero commits and zero releases in the last year, and the Scorecard Maintained check scores 0. Security-relevant PRs, such as pinning axios and removing deepmerge, have no maintainer reply. Twilio still runs the service, so the SDK is unlikely to vanish, but it looks frozen while developers move to newer providers.

GPT-6.2 Sol: 3.9, likely 2.6 to 5.5

The bundle records zero commits and releases in the last year, and the TypeScript 7 fix is still open. Twilio still documents the SDK, but Resend, Postmark, and Mailgun all shipped updates in November 2026. The public record leaves future staffing and the next release date unclear.

Used widely5.9

How many use it, and is that growing?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

It has 26.4M downloads in four weeks and about 24,000 dependent repositories, so the installed base is large. Its year-on-year ratio of about 2.9 is below the 4.1 median, while Resend grew about 15.8x and Nodemailer about 5.1x. It is losing share of new projects.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 26.4M vs 9.07M, ratio 2.9, below the 4.1 median
  • dependents.repos: 24,095 repos, second only to Nodemailer
  • peers Resend SDK: 71M downloads, up from 4.5M a year ago

GPT-6.2 Sol: 5.8, likely 4.6 to 7.0

Ecosyste.ms found about 24,000 dependent repositories, far more than for the other provider SDKs in the bundle and well below Nodemailer. Downloads rose from 9.1 million to 26.4 million over comparable four-week periods, a 2.9× increase against the 4.1× catalog median. That signals a loss of ground, and automated installs, indirect installs, and incomplete repository coverage make the number of direct choices hard to pin down. The SDK monorepo shares its stars across packages and drew no tracked Bluesky links.

  • evidence.dependents: 24,095 indexed repositories and 681 npm packages depend on @sendgrid/mail.
  • evidence.npm: 26.4 million four-week downloads versus 9.07 million a year earlier.
  • medianDownloadsRatio: The catalog median is 4.1×, above SendGrid’s 2.9×.
  • peers: Nodemailer has 214,737 indexed dependent repositories, and Resend’s downloads grew about 15.8×.
  • evidence.github.stars: 3,049 stars for the shared SDK repository.
  • evidence.bluesky.posts: Zero tracked repository links in 24 months.
  • community.strapi.io/marketplace/strapi-provider-email-sendgrid: Strapi’s provider is one route for indirect installs.
Vouched for5.7

Who stands behind it being good?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

SendGrid is a long-standing enterprise email service with wide production use and strong compliance credentials. Current independent write-ups, however, mostly recommend Resend or Postmark for new projects and criticise SendGrid's setup and its shared-IP deliverability. Most of the validation is for the service, not for the SDK itself.

GPT-6.2 Sol: 6.3, likely 5.1 to 7.5

Strapi ships an official adapter, and Novu lists the SDK in its API dependencies and documents the SendGrid integration. Mailtrap’s hands-on Node.js comparison adds evidence that the send API works across common workflows, though Mailtrap sells a competing service. Current SDK-specific satisfaction and long-term production data are sparse.

Safe4.8

How safe is it to depend on?

Claude Opus 5.5: 4.0, likely 3.0 to 6.0

There are no OSV advisories against the package itself, and it has an MIT licence and few direct dependencies. Its open axios range exposed users to the March 2026 axios compromise, and requests to pin axios and drop a deepmerge CVE dependency are not addressed. The Scorecard is 3.5, with weak token permissions, pinned dependencies, SAST and security policy.

GPT-6.2 Sol: 5.5, likely 4.1 to 6.8

The package uses the permissive MIT license, has two direct dependencies, and has no direct advisories in the supplied OSV snapshot. Past releases updated Axios to address vulnerabilities, and a malicious Axios version allowed by the SDK’s dependency range was removed within hours in 2026. The 3.5 OpenSSF Scorecard flags token permissions and dependency pinning, and GitHub shows no repository security policy. GitHub Actions created the latest release, while the current npm publishing controls and number of authorized publishers remain unclear.

Good

  • Simple send() API over SendGrid's v3 Mail Send endpoint, with dynamic templates, personalizations, attachments and batch sending.
  • Only two direct dependencies and an MIT licence.
  • Widely deployed: about 24,000 dependent repositories, second in the category only to Nodemailer.
  • The SendGrid service behind it offers enterprise certifications and marketing email features that newer providers lack.

Bad

  • No commits and no npm release since 8.1.6 in September 2025, and community PRs such as the axios pin go unreviewed.
  • Depends on axios through an open version range, so fresh installs could resolve the compromised axios 1.14.1 during the March 2026 attack.
  • Its TypeScript definitions have open bug reports (TS v7, replyToList, incorrect types) that nobody has fixed.
  • Locks you to one paid vendor, which dropped its free plan in 2025. It only sends email and does not help you write or render it.

The numbers

npm downloads, 4 weeks
26M ×2.9 in a year
GitHub stars
3k
Commits, 12 months
0
npm version
8.1.6 Sept 2025
Versions, 12 months
0
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
3.5 out of 10, Nov 2026
Licence
MIT

The SDK of an email service that is not open source.

Read on 21 November 2026 from GitHub (sendgrid/sendgrid-nodejs), npm (@sendgrid/mail), 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