Changed the python script to be an actual email script, and added the relevant fields to index.html: