Update sendmail.py

added senderemail and projectid in front of two function