Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

EMAIL Match

Fuzzy-matches only the local part of an email address before the @ symbol and ignores the domain. Built for datasets where the same person appears with different email domains.

What EMAIL does

EMAIL splits an email address at the @ symbol, discards the domain entirely, and scores the local part (the portion before @) using the similarity function. It is not an exact/binary comparison; it is FUZZY.

This handles the common scenario where the same person has a work email and a personal email, or where an organization's email domain changes over time.

What EMAIL matches and what it does not

Value A
Value B
Match?

Yes - identical local part, domain ignored

Partial - local parts differ but share "smith"; scores a graded similarity, not a hard match or non-match

Yes - identical local part, even though the organisations are unrelated

[null]

Yes - a null/blank value on either side is an automatic match; add NULL_OR_BLANK if you want nulls excluded

When to use EMAIL

Email address fields in multi-system datasets

Any dataset where the same person or organisation may appear with different email domains across source systems. Work email in CRM, personal email in e-commerce, university email in a registration system - all with the same local part.

EMAIL ignores the domain and matches on the local part, which is the most stable identifier.

When domain differences are expected and normal

After an acquisition, employees may appear in one system with their old company domain and in another with their new one. EMAIL handles this automatically.

When not to use EMAIL

When the domain is part of the identity signal

If you are matching organisations rather than individuals, the domain is often the most reliable identifier. "[email protected]" and "[email protected]" have the same local part but are completely different organisations.

Use EXACT on the full email field when the domain matters.

When you need domain to factor into the score too

EMAIL ignores the domain unconditionally - "[email protected]" and "[email protected]" are scored purely on "j.smith" vs "john.smith", with no credit or penalty for the domain being the same. If the domain itself should count towards the score (not just be a tie-breaker), use FUZZY on the full email field instead. Note this compares the whole string including the domain, so it doesn't restrict fuzziness to the local part the way EMAIL does, and dissimilar domains with similar local parts can drag the score down.

Last updated

Was this helpful?