defects

The defects attribute contains a list of all the problems found when parsing this message. See email.errors for a detailed description of the possible parsing defects.

Related Reading

email.message.Message: Representing an email message using the compat32 API