apoc.data.email

This is the APOC Extended documentation.

APOC Extended is not supported by Neo4j. For the officially supported APOC Core, go to the APOC Core page.

Function Apoc Extended

apoc.data.email('email_address') as {personal,user,domain} - extract the personal name, user and domain as a map

Signature

apoc.data.email(email_address :: STRING?) :: (MAP?)

Input parameters

Name Type Default

email_address

STRING?

null

Install Dependencies

This procedure has a dependency on an email library that is not included in the APOC Extended library.

The dependency is included in apoc-email-dependencies-5.11.0-all.jar, which can be downloaded from the releases page. Once that file is downloaded, it should be placed in the plugins directory and the Neo4j Server restarted.

Usage Examples

RETURN apoc.data.email("michael@neo4j.com") AS output;
Table 1. Results
output

{personal: NULL, user: "michael", domain: "neo4j.com"