Fix for mailhandler imap mail attachments.