Use a regexp instead of a string comparison for checking if the Content-Type of a part is message/rfc822