adding sendgrid python script
resetting head