I see two answers with good qualities, each with a small flaw, so I will give my take on it: Try os.path.exists, and consider os.makedirs...
nltk tweettokenizer, Natural Language Toolkit
Installation of pysftp in debian 9 and Ubuntu
How to change the Jupyter Lab start-up folder
Now that you have your SMTP connection set up and authorized your app with Google, you can finally use Python to send email with Gmail