PyDocs

Internet Data Handling

email.policy

This will be the home for the policy that hooks in the new
code that adds all the email6 features.
Symbols in email.policy

c

compat32
An instance of Compat32, providing backward compatibility with the behavior of the email package in Python 3.2.
Compat32
Controls for how messages are interpreted and formatted.

d

default
An instance of EmailPolicy with all defaults unchanged.

e

EmailPolicy
Controls for how messages are interpreted and formatted.

h

HTTP
Suitable for serializing headers with for use in HTTP traffic.

p

Policy
Controls for how messages are interpreted and formatted.

s

SMTP
Suitable for serializing messages in conformance with the email RFCs.
SMTPUTF8
The same as SMTP except that utf8 is True.
strict
Convenience instance.