I'm actually trying to setup email notification in a DAG on Airflow with Data Composer. To send email, I'm using Sendgrid email server.
I'm following this guide: https://cloud.google.com/composer/docs/how-to/managing/creating#notification.
I followed all steps but when I'm lauching my dag I see this in the logs:
{sendgrid.py:121} WARNING - Failed to send out email with subject Airflow Alert Success, error: HTTP Error 400: Bad Request
What's the problem? Could it be in my environment setup?