Refactor code in ApplicationMailbox * short-circuiting as soon as we get a "true" value in some cases * using ".exists?" instead of instantiating an ActiveRecord object * using "match?" instead of "match"