Make sure the ImapFolder is open in READ-WRITE mode in some cases
Check for the QRESYNC IMAP extension