working rendering of emails and names with custom html for autocomplete