Fixed error in params list to email template