mail-listener2
mail-listener2 copied to clipboard
Duplication of emails in listener
If I work with a simple UNSEEN flag and use the vanilla example with no changes other than my gmail IMAP information I see the following behaviour.
Start mail-listener2 Go to gmail on web client Select 3 emails Mark as unread Mail-listener2 console will output the same 3 emails 3 times. This creates a total of 9 mails being displayed in the console.
It appears this lib has found the fix https://www.npmjs.com/package/xs-mail-listener