I have various mailboxes configured and I would like to setup an alert if the unread count in the inbox of a particular mailbox exceeds a certain limit.
Ideally an email that comes to the inbox is moved to another folder by an emailImporter service. We have had several occurrences where the service went down and the Inbox count grew.
So, to determine if the service is up/down, I want to setup an alert on the server if the inbox count is greater than 15, then notify the support teams.
Does anyone know how to do this?