Add support for partial email search. #1708