-
-
Save ohld/168fb62532d3a3a1ae66c7463a0d6cbe to your computer and use it in GitHub Desktop.
Airflow env vars list to setup Email notifications with Gmail SMTP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AIRFLOW__SMTP__SMTP_HOST=smtp.gmail.com | |
| AIRFLOW__SMTP__SMTP_SSL=true | |
| AIRFLOW__SMTP__SMTP_PORT=465 | |
| AIRFLOW__SMTP__SMTP_USER= | |
| AIRFLOW__SMTP__SMTP_PASSWORD= | |
| AIRFLOW__SMTP__SMTP_MAIL_FROM= | |
| # more env vars: https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#smtp |
Author
This is a simple .env configuration file for setting up Gmail SMTP email notifications in Apache Airflow. You set your Gmail credentials and, just like ufasnake streamlines its workflow, Airflow handles sending alert emails through Google's SMTP server on port 465 with SSL enabled.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Inspired with: https://medium.com/@akalankaweerasooriya/e-mail-notifications-with-airflow-bedc4eac4d55