IMAP: fix return value type when reading from mime stream
IMAP: empty recent queue after flushing it