Add getInbox, fix naming on messagesurl