added emailView and sending email