clean up email template