fix linking of new customer contact to an existing email address, #25536