nodemailer breaking changes
Updated December 4, 2026
On this page
Latest version 10.6.3, released December 2, 2026. Source repository
Its 10.0.0 release requires Node.js 20 or later. Node.js end of life dates.
- From 9.0.6 to 10.6.1: 495 breaking changes in 14 versions.
- From 7.0.0 to 10.6.1: 503 breaking changes in 21 versions.
nodemailer 10.6.1 breaking changes
- Behavior changed
Cookies are now matched by name, domain and path, so cookies that previously overwrote each other may now be stored separately. Check code that reads or sets cookies. github.com - Behavior changed
DKIM signing now includes the List-Unsubscribe-Post header by default, so signed messages change. Check your DKIM setup if receivers or tests depend on the previous signature. github.com
nodemailer 10.5.0 breaking changes
- Behavior changed
Plain header text that a receiver would decode as an encoded-word, but that is not a valid one, is now encoded instead of passed through, so the emitted header differs for such text. Check code that depends on the raw header value. github.com
nodemailer 10.4.1 breaking changes
- Behavior changed
Recipient domains with internationalized characters are encoded the same way UTS-46 validators encode them, so some domains may encode differently than before. github.com - Behavior changed
addressparser
Whitespace or comments around a dot in a recipient domain are now parsed as part of one domain, not split into the display name. Check applications that parse addresses with odd spacing. github.com
nodemailer 10.4.0 breaking changes
- Signature changed
lib/mailer:default.close
Was close: () => void; now close: (options?: {force?: boolean;}) => void. npmjs.com - Signature changed
lib/smtp-pool:default.close
Was close(): void; now close(options?: {force?: boolean;}): void. npmjs.com - Signature changed
Mail.close
Was close: () => void; now close: (options?: {force?: boolean;}) => void. npmjs.com
nodemailer 10.3.0 breaking changes
- Behavior changed
A Content-ID header from an attachment cid or set through headers is now encoded as a message id, which changes its output for non-ASCII or quoted values. github.com - Behavior changed
headers
A custom OTP-Token header set through headers is sent raw rather than MIME word encoded. Line breaks and control characters are still removed. github.com - Default changed
OTP-Token is now part of the DKIM signature by default, so signed messages differ from earlier releases. github.com
nodemailer 10.2.1 breaking changes
- Signature changed
lib/mime-funcs:parseHeaderValue
Was function parseHeaderValue(str: string): ParsedHeaderValue; now function parseHeaderValue(str: string, options?: ParseHeaderValueOptions): ParsedHeaderValue. npmjs.com
Older versions
16 older versions, each with its first changes. Sign up to see every change
Show 16 older versions
nodemailer 10.2.0 breaking changes
- Behavior changed
MimeNode.encodeHeaderValue
ASCII-only message/rfc822 attachments are now labelled with 7bit transfer encoding instead of 8bit; code that inspects the encoding header may see a different value. github.com
nodemailer 10.1.1 breaking changes
- Behavior changed
Credentials are removed when a fetch request is redirected to a different origin. Code relying on credentials being forwarded across origins must change. github.com
nodemailer 10.1.0 breaking changes
- Behavior changed
Pooled SMTP connections are now closed after 4 minutes without a message unless the new idleTimeout option is set to 0. A message with rejected recipients now resets and reuses the pooled connection instead of closing it. github.com - Behavior changed
Errors now carry originalCode and timeoutType fields in nodemailer 10.1.0 github.com
And 5 more in this version.
nodemailer 10.0.12 breaking changes
- Signature changed
lib/smtp-pool:SMTPPoolResolvedOptions
Was type SMTPPoolResolvedOptions = SMTPPoolOptions & {maxConnections: number; maxMessages: number;}; now type SMTPPoolResolvedOptions = SMTPPoolOptions & {maxConnections: number; maxMessages: number; maxRequeues: number;}. npmjs.com
nodemailer 10.0.11 breaking changes
- Signature changed
createTransport
Was function createTransport(transporter: JSONTransportOptions & {jsonTransport: true;}, defaults?: MailDefaults): Mail<JSONSentMessageInfo> function createTransport(transporter: SESTransportOptions & {SES: object;}, defaults?... npmjs.com - Signature changed
JSONSentMessageInfo
Was interface JSONSentMessageInfo extends SentMessageInfo; now interface JSONSentMessageInfo<M = string> extends SentMessageInfo. npmjs.com
And 50 more in this version.
nodemailer 10.0.2 breaking changes
- Removed
lib/shared:DnsCacheValue.servername
DnsCacheValue.servername was removed in nodemailer 10.0.2 npmjs.com
nodemailer 10.0.1 breaking changes
- Removed
lib/addressparser:AddressParserOptions._depth
AddressParserOptions._depth was removed in nodemailer 10.0.1 npmjs.com - Removed
lib/mail-composer:default._alternatives
_alternatives was removed in nodemailer 10.0.1 npmjs.com
And 417 more in this version.
nodemailer 10.0.0 breaking changes
- Removed
Node.js versions older than 20 are no longer supported, so users on older Node.js must upgrade before installing this release. github.com
nodemailer 9.0.6 breaking changes
- Behavior changed
URL fetching and copying of user supplied keys were hardened in this release. Review code that relies on the previous fetching or key copy behavior. github.com
nodemailer 9.0.5 breaking changes
- Behavior changed
Header values, msg-id headers, header parameters and List-* comments now keep control characters out, which changes the output for inputs that previously passed them through. Review any code that relied on raw control characters in headers. github.com
nodemailer 9.0.4 breaking changes
- Behavior changed
Header parameter values containing HT, CR or LF are now encoded rather than quoted, so code that relied on the quoted output will see different header text. github.com
nodemailer 9.0.0 breaking changes
- Behavior changed
When a remote fetch redirect crosses to a different host or downgrades https to http, Authorization, Cookie and Proxy-Authorization request headers are no longer sent. github.com - Default changed
tls.rejectUnauthorized
HTTPS requests made while fetching remote content now reject self-signed, expired or hostname-mismatched certificates. To keep the old behavior, set tls.rejectUnauthorized=false per transport or per attachment. github.com
nodemailer 8.0.8 breaking changes
- Behavior changed
Credential requests to OAuth2 and Ethereal now verify TLS certificates strictly. Code that relied on unverified or self-signed certificates for these requests may now fail and needs a trusted certificate setup. github.com
nodemailer 8.0.0 breaking changes
- Renamed
NoAuth
Errors that used to carry the code NoAuth now carry ENOAUTH. Update any code that checks err.code for NoAuth. github.com
nodemailer 7.0.3 breaking changes
- Behavior changed
Attachments of type message/rfc822 now default to 7bit transfer encoding. Only code relying on the previous default encoding for such attachments is affected. github.com
nodemailer 7.0.0 breaking changes
- Removed
The SES transport now uses the SESv2 SDK, and the older SES SDK v2 and v3 support was removed. Code relying on those SDK versions must move to the SESv2 SDK. github.com - Removed
The SES transport no longer offers rate limiting or idling. Code that relies on these features must be updated; see the SES transport docs for current usage. github.com
And 1 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.