I have seen the implementation in earlier version but now, with IdentityIQ version 8.1p3, 8.2+, we will only be allowed to use Velocity templates in the body of an EmailTemplate. It will not be allowed in the cc field, Subject, etc.
IIQMAG-3560
[SECURITY] IdentityIQ now restricts class loading from within Velocity templates except for email bodies