Charalampos Nikolaou added the comment:
Hi, actually I must have found the real culprit. And this is that imaplib does
not include a function for the "EXAMINE" command. What it does is that when a
user selects a mailbox as readonly, it executes an EXAMINE command instead of a
SELEE
New submission from Charalampos Nikolaou :
I would like to report a misbehaviour on the fetch command of imaplib when used
with mailboxes that have been opened as read-only. In such cases, when you
fetch a message (using for instance RFC822), the mail is not marked as read
(i.e., the flag of