inline js and email