ERPNext Incoming Email IMAP Connection Timeout

Hello Frappe Community,

I am configuring an Incoming Email Account in ERPNext v16, but the connection fails with:

Incoming email account not correct

Error connecting via IMAP/POP3: timed out

The email settings are:

Protocol: IMAP

Port: 993

SSL: Enabled

The same IMAP settings work from other email clients, but ERPNext cannot establish the connection.

I have verified that the ERPNext server can connect to other IMAP servers on port 993, so the issue seems specific to this mail server connection.

Has anyone experienced this issue in ERPNext, or is there any additional configuration required for Incoming Email Account setup?

Thank you.