when a contact is created or updated, check its account name. update it if it has values to use; otherwise use email and specify unknown where appropriate.