Create method to get inbox contents