Salesforce merge contacts by email Select all contacts with the same name Copy all data to the newest one Delete all contacts with the same name except the oldest one TODO: Use cursor instead of array in start() function