Issue with grafana email alert

What Grafana version are you using?

6.2.4

What datasource are you using?

prometheus

What OS are you running grafana on?

linux

What did you do?

Trying to send test mail to my gmail account, enabled smtp for gmail account(login gmail account->settings->Forwarding and POP/IMAP->IMAP enabled)

Also configured the smtp settings in grafana default.ini file
[smtp]
enabled =true
host =smtp.gmail.com:465
user =xx@gmail.com
password =xx!
skip_verify =true
from_address =xx@gmail.com
from_name =Grafana

What was the expected result?

Receive grafana test mail to mentioned gmail account

What happened instead?

Error thown like lvl=eror msg=“failed to send notification” logger=alerting.notifier uid= error=“read tcp X.X.X.X:12701->74.125.195.108:465: read: connection timed out”

please disable firewall in your linux systems