refactoring model out of MailboxViewController