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.
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.