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

UserEmail

Identify a user by their email address, using a hash consistently across every data flow.

Your goal

Use the email address as an identifier without moving the address around more than you need to - and hash it the same way everywhere, so the same person matches across your flows.

Expected outcome

One hash function agreed for the datamart and used by every integration that sends or receives email-based identifiers.

What a UserEmail is

A UserEmail is an identifier based on the user's email address. It is usually derived from the address by a hash function such as MD5 or SHA-256. The email can be hashed directly by the platform.

A user can have several UserEmails registered.

Property
Type
Description

hash

ID

The hashed email.

email

String, optional

The user's email, not hashed.

creation_ts

Timestamp

When the email was registered on the platform.

expiration_ts

Timestamp, optional

The email's eventual expiration timestamp.

The hash property is mandatory and is the property used to identify a user. It is provided as $hash in user activity requests.

In the schema

In an activity

Where the hash is used elsewhere

The email hash is one of the identifiers accepted by the endpoints reachable with signature authentication, which is how a public application can look up a user's segments without carrying a long-term token.

It is also one of the technical names available for segment metrics, which is how teams see how many users in a segment are reachable by email.

Verify

  • Every integration sending email-based identifiers uses the agreed hash function.

  • A test user identified by email hash resolves to the expected UserPoint.

  • Segment metrics counting emails return plausible values.

Last updated

Was this helpful?