Check manual page of check_mail

POP3/IMAP Connection and Optional Mail Forwarding
Distribution Official part of Checkmk
License GPLv2
Supported Agents Active
Logs in into an IMAP or POP3 mailbox to monitor whether or not the login is possible. An extended, optional, feature is, that the check can fetch all (or just some) mails from the mailbox and forward them as events to the Event Console.

This check can be configured using WATO.