Python Send Mail Using Javascript Innerhtml Append