Email not working


Hi experts,

I am getting this error when I invite new staff.

"Error sending email! Error sending email: Failed to send email. Reason: Invalid login "

Below is my mail setting in config file.

“mail”: {
“transport”: “SMTP”,
“options”: {
“service”: “Gmail”,
“host”: “”,
“port”: 465,
“secureConnection”: true,
“auth”: {
“user”: "",
“pass”: “xxxx”


It is working now. May be enabling Less Secure App access on the gmail account is taking some time.