Return the message's main content type. This is the 'maintype' part of the string returned by get_content_type().
email.message/EmailMessage.get_content_maintype
EmailMessage.get_content_maintype