Move static HTML to template
Bug #12480: Don't do email filter on name if name is not part of the search result