Repository navigation
Releases
Releases · nodemailer/mailparser
v3.15.0
v3.14.5
3.14.5 (2026-11-16)
Summary
Link detection in plain text bodies (textAsHtml) moves to linkify-it 6. The configuration mailparser relied on is kept, and a custom rule keeps quoted addresses and file paths from turning into broken mailto: links.
Who should upgrade
Everyone using textAsHtml, at your convenience. Links found in ordinary mail are the same as before, with a few improvements listed below.
Highlights
- Links without a scheme (
example.com,www.example.org), IP hosts,.onion,git:links and @mentions are found as before, anduser:pass@stays part of a URL. - Closing quotes and guillemets after a URL are no longer included in the link.
- URLs with bracketed IPv6 hosts (
https://[2001:db8::1]:8080/) are now linked. href="mailto:bob@example.org"in a text body linksmailto:bob@example.orginstead of including the attribute name.- A schemaless host with a port (
example.com:8080/x) is no longer linked; linkify-it 6 refuses that form on purpose.
Bug Fixes
- move link detection to linkify-it 6 (6527e91)
v3.14.4
v3.14.3
v3.14.2
v3.14.1
v3.14.0
v3.13.0
3.13.0 (2026-10-29)
Summary
mailparser now reads the OTP-Token header (draft-goto-otp-token), the header Nodemailer 10.3.0 sets with its otp option, and exposes the one-time passcode as otp: { code, origin } on the simpleParser result and on the MailParser instance. Parsing follows the same rules as PostalMime.
Who should upgrade
No hurry. Upgrade if you want to read one-time passcodes from incoming mail.
Highlights
- New
otpproperty, set only when the message header has exactly one validOTP-Tokenheader with a canonicalhttpsorigin (or anhttporigin on a loopback host). Headers in MIME parts or forwarded messages are ignored. - The header is not authenticated: check that the message has a valid DKIM signature from the domain of the origin before offering the code.
otpis experimental and may change in a minor release when the draft does.- Dependency update: nodemailer 10.3.0.
Features
- parse the OTP-Token header into mail.otp (bc20682)
Bug Fixes
- update dependencies (f94b954)
v3.12.4
v3.12.3
3.12.3 (2026-10-22)
Bug Fixes
- deps: bump mailsplit to 5.4.28 and libmime to 5.6.3 (996a18f)
- deps: bump mailsplit to 5.4.29, which reads an RFC 2231 filename the same way (7ccd32b)
- drop the comments of a Content-Type or Content-Disposition in the headers map (eaf345b)
- tell an RFC 2231 parameter apart by what libmime decoded, not by a second scan of the header (eba8da2)