Email (record): The evolution of mating type switching