php/python mailer app