Sendgrid supports elk configuration

Hi Team,

i am configuring sendgrid mail server in elastic search yml file to create alarms.

but i was getting below errors in logs, can please help on this.

Caused by: javax.mail.AuthenticationFailedException: 451 Authentication failed: Could not authenticate

ES configuration;

xpack.notification.email.account:
sendgrid_account:
profile: sendgrid
smtp:
auth: true
starttls.enable: true
host: smtp.sendgrid.com
port: 587
user:

and for adding keystore password have executed the below command.

elasticsearch-keystore add xpack.notification.email.account.sendgrid_account.smtp.secure_password

Thanks
Nikhilesh Gade

Have you added the password to all keystore on all nodes? Did you restart each node?