Replaced Mailbox.hasWork with Mailbox.isInboxEmpty