Change sent message key to sentMessage from inboxMessage