Unable to configure gmail/zoho email account

frappe@ip-172-31-19-30:~/frappe-bench$ bench version
erpnext 8.9.0
frappe 8.8.0
frappe@ip-172-31-19-30:~/frappe-bench$

Hi All

I am trying to add gmail or zoho account to email accounts in erpnext but unable to add it.
It always says “request timed out”

Any pointers?
Has anybody recently configured a gmail account to interact with their clients?

I have already removed 2 step authentication for gmail and also enabled less safe option for applications login (wrt gmail). ie https://support.google.com/accounts/answer/6010255?hl=en

Any pointers would be helpful.

Hello,
Is there any error on the console ?
A screenshot of configuration done and the Error on console will help to look into.