Retrieving messages to inbox