Refactor preferred_domain, only search if given more than one email