adding email and emailTemplate