Sending Email With Nodemailer and SendGrid


Posted on

The recent release of Nodemailer version 1.0.0 was packed full of awesome! Not only was it completely rewritten from the ground up, but it brings support for a modularized transport system, giving developers a standard way to send email regardless of the service used to send it. This is huge because it allows developers to switch all of their mail sending functionality over to a new email transport by only changing a few lines of code.

You’ve always been able to use Nodemailer with our SMTP transport, and you still can, but we advocate using our Web API wherever possible, for reduced latency and better encoding support.

Thanks to the new modular transport system and the nodemailer-sendgrid-transport module, you can do this easily.

To continue using Nodemailer with SMTP, just set your service to ‘SendGrid’ as shown below.

We’re super stoked to see Nodemailer getting such major updates, as well as the community’s excitement surrounding this release. A big shoutout goes to Andris and all of the contributors to the project for their awesome work.


Will Smidlein is a developer evangelist at SendGrid. He loves making developers' lives easier. You can drop him a line on Twitter at @ws.

Will Smidlein on Twitter

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>