got the email to display correctly