I just launched gradients.sh. Come check it out →
Email SDK
GuidesMigration guides

Migrate from Nodemailer

Replace a Nodemailer transporter with Email SDK's typed SMTP adapter.

Email SDK includes a typed SMTP transport backed by Nodemailer. It handles address fields, text/HTML bodies, headers, TLS upgrade, SMTP auth, RFC-safe subjects, transfer encoding, and MIME attachments.

Replace the transporter

On a non-secure port, SMTP auth upgrades with STARTTLS by default. allowInsecureAuth exists only for trusted local test servers.

Replace sendMail

The transport creates multipart/alternative for text plus HTML and derives Message-ID from the idempotency key.

Account for unsupported features

The SMTP adapter still has no tag, metadata, or scheduling concept. Keep a custom adapter if your SMTP workflow depends on advanced transport plugins.

Verify

SMTP adapter

See TLS, auth, custom names, and transport limits.

On this page