Skip to content

Email

Description

An email address associated with a party. Parties can have multiple email addresses of different types, and they have current and former email addresses.

Label

:Email

Properties

PropertyDescriptionType
idUnique identifier, a uuidstring
typesee belowstring
emailthe email addressstring
primaryboolean
createdBythe person or process that created the nodestring
createdDatedateTime
modifiedBythe person or process who last modified the nodestring
modifiedDatedateTime

Below are the email address types that are valid in the type property, e.g., { type: "Home"}.

TypeNotes
HomePersonal email address at a Party's residence / @deprecated
WorkWork email address
CorpHQ
Main
Personal

Parties can have multiple email addresses of various types, any number of which can be active at one time and of course no limit to the number of inactive email addresses. Parties can only have one primary email address (primary set to true) per each type.

Relationships

The HAS_EMAIL relationship connects parties to email addresses, and uses the standard relationship properties.

Examples

cypher
MATCH   (party:Party { id: $id })
MERGE   (party)-[rel:HAS_EMAIL {
          active: true,
          private: false,
          fromDate: date()
        }]->(email:Email {
          type: "Work",
          email: "john@gmail.com",
          primary: false
        })
RETURN  party.id,
        party.name,
        email{.*}

Confidential. For internal use only.