From Dev.to
Deduplicating contacts when the same person has three identities
The same customer appears as an email address, a user id, and a Stripe customer. Merge them badly and you send three copies of the same onboarding email; merge them lazily and you cannot answer 'who i...
