update sendmail.py