this is sendmail script by python.