Created a new and improved emailViewer object to store data for the email viewer