correct param error on email template