new function and update email template