'Takes parsed JSON response from \'inbox\' action on api
and updates the available subset of mailbox information.'

def set_mbox_data(self, mbox_resp):

    self.current_page = mbox_resp['currentPage']
    self.total_pages = mbox_resp['pages']
    self.messages = [MailboxMessage(self.parent_api, m) for m in mbox_resp['messages']]
