missing sending the email and the email template