This chapter describes modules which support handling data formats commonly used on the Internet.
email — An email and MIME handling packageemail.message: Representing an email messageemail.parser: Parsing email messages
email.generator: Generating MIME documentsemail.policy: Policy Objectsemail.errors: Exception and Defect classesemail.headerregistry: Custom Header Objectsemail.contentmanager: Managing MIME Content
email: Examplesemail.message.Message: Representing an email message using the compat32 APIemail.mime: Creating email and MIME objects from scratchemail.header: Internationalized headersemail.charset: Representing character setsemail.encoders: Encodersemail.utils: Miscellaneous utilitiesemail.iterators: Iteratorsjson — JSON encoder and decoder
mailcap — Mailcap file handlingmailbox — Manipulate mailboxes in various formats
mimetypes — Map filenames to MIME types
base64 — Base16, Base32, Base64, Base85 Data Encodingsbinhex — Encode and decode binhex4 files
binascii — Convert between binary and ASCIIquopri — Encode and decode MIME quoted-printable datauu — Encode and decode uuencode files