If you are using Outlook with IMAP to collect your email and running and mdaemon server you may frequently receive the message:
Your IMAP server closed the connection. This can occur if you leave the
connection idle for too long
In Mdaemon go to setup, Default Domain timeouts and check off IMAP NOOP and IDLE commands trigger 1 minute inactivity timeout