Engaging with Email

Email is one of the most popular forms of digital communication. Python has a rich number of built-in libraries for dealing with emails. In this chapter, you will learn how to use Python to compose, send, and retrieve emails with the Simple Mail Transfer Protocol (SMTP), Post Office Protocol 3 (POP3), and Internet Message Access Protocol (IMAP) protocols. Practical code examples in Python 3.7 will illustrate most of these concepts in detail.

The following topics will be covered in this chapter: