ContactService::save() runs in one transaction (joining a caller's), and a new contact is made under the team row's lock, where the plan limit is counted. findOrCreateByEmail() asks again for the address under that lock before making a contact.
Fixed two contacts made for one email address at once
When two things add the same new email address to a team's contacts at the same moment, such as two bookings, one contact is made. A contact is saved with its emails, phones, addresses and tags together or not at all, and the plan's contact limit counts every contact made before it.