My customer got:
IMAP server closed the connection. This can occur if you leave the
connection idle for too long.
mailz.xxx.it: IMAP4rev1 server terminating connection.
Error Code: 0x800CCCDD.
Timeout configured n outlook is the max allowed: 10 minutes. This happen before 10 minutes of inactivity.