fixing generic email to avoid invalid html