Unable to setup gmail as outgoing account by following setup steps

Unable to setup gmail as outgoing account by following setup steps.
Gmail app is set up with app gmail password
Gmail smtp for app are correct and working (smtp request with separate python library - smtplib is successful), emails are being sent from jupyter notebook to google
Added ERPnext email account with all correct credentials:

  • ERROR - not able to save email account - TIMEOUT
  • nothing in error log in /app/error-log
  • ERPnext Installed Apps

ERPNext: v15.57.5 (version-15)

Frappe Framework: v15.63.1 (version-15)

Frappe HR: v15.43.0 (version-15)

noncontainerized install using erpnext_quick_install/erpnext_install.sh at main · flexcomng/erpnext_quick_install · GitHub

Please advice here.

It seems that this is not Frappe issue but Digital Ocean.

Closing that

Why is SMTP blocked?

DigitalOcean
https://docs.digitalocean.com › support › why-is-smtp-bl…
Mar 6, 2025 — SMTP ports 25, 465, and 587 are blocked on Droplets to prevent spam and other abuses of our platform.