Fix Issue #3: Use MsgHdrToMimeMessage to get message headers

Using MsgHdrToMimeMessage to get the message headers also works for messages that are on IMAP and not available offline.