Python Send Mail Using Javascript Innerhtml Function