Hello, The previous patch did not take into account that an IMAP server is free to send the UID, FLAGS and RFC822.SIZE response data items in arbitrary order. This has been fixed in this version of the patch. Best, -Nikolaus -- GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F »Time flies like an arrow, fruit flies like a Banana.«