python script to run HTTP server to send emails on new registration.