Factor mailbox problem detection into MailboxStatus and constants

4 jobs for !1648 with 2175-mailbox-problem-notification in 10 minutes and 10 seconds (queued for 2 seconds)
latest merge request