node-red-nodes icon indicating copy to clipboard operation
node-red-nodes copied to clipboard

Node-red-node-email ignoring IMAP IDLE

Open tiffchros opened this issue 3 months ago • 1 comments

Which node are you reporting and issue on?

node-red-node-email email-in

What are the steps to reproduce?

Connect to an IMAP server.

What happens?

Mails are pulled after a given timeout.

What did you expect to happen?

Connection to IMAP server stays open and is checked after the timeout. If it is closed, reopen it and wait via IDLE for new incoming emails. New mails should trigger the flow immediately.

Example flow

paste your flow here

Environment

  • Node-RED version: v4.1.0
  • Node.js version: v20.19.4
  • npm version: 10.8.2
  • Platform/OS: Debian GNU/Linux 12 (bookworm)
  • Browser: Firefox 142.0.1 (64-Bit)

tiffchros avatar Sep 16 '25 20:09 tiffchros

This feels more like a feature request, than a bug report. We normally ask that feature requests are made on Slack or the Discourse forum first so they can be discussed with a larger audience than just the core group.

I've had a quick look at the code and it would be a pretty major change, but if you are able please feel free to raise a pull request with the changes and we can look at it.

hardillb avatar Sep 16 '25 21:09 hardillb