Reuse the MimeParser for IMAP as well for the same reasons