Final commit for sendEmail