hql email query - access with admin or user roles (test)