---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/sendgrid/for-developers/sending-email/smtp-nodejs-code-example#article
headline: SMTP Node.js Code Example
description: Integrate SendGrid using their Node.js SMTPAPI library, as detailed in GitHub documentation. Optimize email services efficiently and seamlessly.
url: https://www.twilio.com/docs/sendgrid/for-developers/sending-email/smtp-nodejs-code-example
inLanguage: en
dateModified: 2024-04-24T20:56:51.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# SMTP Node.js Code Example

SendGrid recommends using our [Node.js SMTPAPI library](https://github.com/sendgrid/smtpapi-nodejs), full documentation can be found on GitHub. Our [Node.js API library](https://github.com/sendgrid/sendgrid-nodejs) allows you to fully integrate with SendGrid.
