Unable to send email with watcher

{
"id" : "send_email",
"type" : "email",
"status" : "failure",
"error" : {
"root_cause" : [
{
"type" : "messaging_exception",
"reason" : "failed to send email with subject [Watcher Notification] via account [gmail_account]"
}
],
"type" : "messaging_exception",
"reason" : "failed to send email with subject [Watcher Notification] via account [gmail_account]",
"caused_by" : {
"type" : "authentication_failed_exception",
"reason" : "failed to connect, no password specified?"
}
}
}

I have done the configuration in the yml for gmail
#------------- WATCHER EMAIL ACCOUNT SETUP -------------------
xpack.notification.email.account:
gmail_account:
profile: gmail
smtp:
auth: true
starttls.enable: true
host: smtp.gmail.com
port: 587
user: alejandrochaves1997@gmail.com
#--------------------------------------------------------------

And also store the account SMTP password with the keystore command

bin/Elasticsearch-keystore add xpack.notification.email.account.gmail_account.smtp.secure_password

Any idea what might be happening?

did you use quotes for the setting in Elasticsearch-keystore? Also, I think it might need an ES restart to take that into account, not sure.

i just use:
bin/Elasticsearch-keystore add xpack.notification.email.account.gmail_account.smtp.secure_password

and then set the passwd, and i restart Elasticsearch too.
where i need to put the quotes?
can you write me an example of the command if im writing him wrong?