created function to clear the currently loaded inbox message, and also removes the users selection. this function is called everytime the inbox is reloaded or filtered