This Python script uses the smtplib library to send an email via a Gmail SMTP server. It is designed to notify someone about a new video on YouTube.
- Python 3
- Gmail account for sending emails
-
Clone this repository.
-
Install the required dependencies:
pip install secure-smtplib
-
Set the following environment variables:
EMAIL_SENDER: Your Gmail email addressEMAIL_PASSWORD: Your Gmail app password
Run the script using the following command:
python email_script.py