Bump SMTP and IMAP block dependencies to fix vulnerabilities - #2512
Merged
Merged
Conversation
|
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Align the EAUTH message with the behavior stated in the pull request description.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Updates SMTP/IMAP dependencies to address Nodemailer vulnerabilities and adapt SMTP code for Nodemailer 10.
Changes:
- Bumps
imapflow,mailparser, andnodemailer. - Updates Nodemailer type imports and adds EAUTH handling.
- Refreshes lockfile and license metadata.
File summaries
| File | Description |
|---|---|
THIRD_PARTY_LICENSES.txt |
Refreshes dependency license metadata. |
packages/blocks/smtp/test/connection-error-handler.test.ts |
Adds EAUTH handling coverage. |
packages/blocks/smtp/src/lib/connection-error-handler.ts |
Adds explicit EAUTH handling. |
packages/blocks/smtp/src/lib/actions/send-email.ts |
Updates Nodemailer 10 type imports. |
package.json |
Updates dependencies and removes redundant Nodemailer types. |
package-lock.json |
Locks updated dependency versions. |
Review details
- Files reviewed: 5/6 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
MarceloRGonc
approved these changes
Sep 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Fixes OPS-4836.
Bump
imapflow,mailparserandnodemailerto fix Snyk high-severity findings in transitivenodemailerversions.Additional Notes
send-email.ts: nodemailer 10 ships its own type declarations and no longer exportsAttachmentandHeadersas named types fromnodemailer/lib/mailer. ImportAttachmentandMailfrom thenodemailerroot instead and useMail.Headers.@types/nodemailerremoved as redundant.connection-error-handler.ts: add an explicitEAUTHcase. A wrong password now returns "Check the username and password." instead of the generic code-only message. Test added.Testing Checklist
Manual tests against Gmail: