Using email.message_from_string() to parse mail header