sync contactemail: check for primary flags, and update the contact's email field if necessary. had to bulkify this trigger with maps and such.