Added search by email functionality