Sending Emails With Python

In this course, you’ll learn how to send emails using Python. Find out how to send plain-text and HTML messages, add files as attachments, and send personalized emails to multiple people. Later on you’ll build a CSV-powered email sending script from scratch.

What’s Included:

Related Learning Paths:

About Joe Tatusko

Joe Tatusko Joe Tatusko

Joe is a manufacturing engineer turned Pythonista with interests in data wrangling and visualization.

» More about Joe

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Participant Comments

ranjeet on March 8, 2022

Nice course to send email using Gmail. Very informative and helpful, definitely I am going to use in effective way. Thank you.

Yogi on Oct. 31, 2021

Very concise and objectively prepared tutorial - thank you so much for this great, helpful learning session.

aniketbarphe on Sept. 22, 2021

Absolutely fantastic! Please can you suggest how to deal with “Automation of email using Outlook also?”

mikesult on Feb. 26, 2020

Great tutorial Joe. I learned some really useful techniques regarding email. Thanks!

charliem22 on May 28, 2019

Excellent tutorial! Very clearly presented and logically structured! This is a model of how on-line education can work. Thanks for taking the time to make this!! charlie

sion on April 25, 2019

Very helpful, very interesting and well presented. Thank you

« Browse All Courses