The IMAP protocol includes the IDLE command, which allows the server to tell the client when new messages arrive.
IMAP 协议包括 IDLE command，它允许服务器当新邮件到达时向客户端发消息。