Added search terms filter to email and category-based views.