Indeed there is a BUG (but you can workaround it). Rated 5 out of 5 stars
Update July 3rd:
Following my own advice, I have set the preferences to NOT export the All Mail folder through IMAP (I have created another folder to archive my old messages, so that it would behave like every other folder in every other IMAP implementation, instead of listing all my mail messages for all my folders like All Mail does).
Since then, this add-on is simply perfect.
Thank you again.
This add-on works perfectly, but there is a bug:
If you set your GMail preferences to export the All Mail folder through IMAP, this add-on will mark the messages in that folder as read too, since it's in the [Gmail] folder.
But since the messages in that folder are just mirrors from the messages in other folders, marking a message as read in that folder will also mark the message as read in its original folder as well, INCLUDING THE INBOX.
Could you please fix this?