update sendEmail.py