In the past lessons you had to write a lot of boilerplate code to send emails the way you wanted.
In this lesson, you’ll meet Yagmail, which is a Python library created to interact with Gmail accounts and making it a lot easier to send emails via Python by writing less code.
Note: Don’t forget to install it via pip install yagmail
Congratulations, you made it to the end of the course! Make it stick: Mentor AI will check what you’ve got down, help you build something with it, and find your #1 takeaway to share in the discussion.
Or go straight to the discussion section and share your #1 takeaway and how you’ll put your new skills to use.
Marc Gehling on May 1, 2019
same error as @yraheem, solved with “pip install yagmail[all]”