Intermittent Email receiving with IMAPflow from Gmail in Node.js
We are experiencing an issue in a Node.js application where we are using IMAPflow (version 162) to fetch emails from a Gmail account configured with an app password.
The problem is that the email fetching is inconsistent: we seem to only retrieve every other email. For instance, we might receive the 1st, 3rd, and 5th emails, and miss the 2nd, 4th, etc. At other times, this pattern reverses, and we miss the 1st, 3rd, etc., while receiving the 2nd, 4th, and so on.