A python script to send emails