Python Send Mail Using Javascript Innerhtml Definition