Outlook 2010 is mixing up header IMAP accounts

Several messages in my IMAP account in Outlook have message headers (such as subject and From address) which do not apply to the message body.

The message body appears to be from previous emails, show garbled or can’t be downloaded at all. Attachments seem to be affected as well.

Why is this happening and how can I fix these messages?