Reputation: 2331
I want to get email notifications with Cloud Composer but I am unsure how to do that. How can I configure a Composer environment to send email notifications?
Upvotes: 5
Views: 7833
Reputation: 12818
You can use your own SMTP (or even gmail) instead of Sendgrid.
Add your SMTP details to Cloud Composer as follows:
port=465
smtp_ssl=True
smtp_starttls=False
Or alternatively you can use Gmail.
I didn't try this myself, but I think it's good to know that this is also possible.
Here's an example of someone describing the process:
https://helptechcommunity.wordpress.com/2020/04/04/airflow-email-configuration/
Upvotes: 0
Reputation: 2331
Because sending email or opening SMTP email relays can be a dangerous or prohibited Cloud behavior, we recommend you use Sendgrid to send email from Composer environments. The Composer environment setup directions contain a section specifically on how to setup Sendgrid with Cloud Composer.
Upvotes: 6