Email script for python