Binary package “mailcheck” in ubuntu jammy

check multiple mailboxes/maildirs for mail

 Mailcheck is a simple, configurable tool that allows multiple mailboxes
 to be checked for the existence of new mail messages. It supports both
 mbox and maildir-style mailboxes for compatibility with most mail
 transport agents. It also supports remote POP3 and IMAP mailboxes.