chirag04/mail-listener2

Duplication of emails in listener

Opened this issue · 1 comments

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