Git Product home page Git Product logo

email-enricher's Introduction

Email Enricher: An Offline Clearbit Alternative

Email Enricher is a free, offline alternative to Clearbit for enriching emails. Determine if an email likely belongs to a Fortune 1000 company.

Table of Contents

Installation

To install Email Enricher, use either of the following package managers:

Using Yarn

yarn add email-enricher

Using npm

npm install email-enricher

Usage

Below are examples showing how to obtain enriched information about a company from an email address.

Import the Function

import { companyFromEmail } from "email-enricher";

Basic Usage

Example 1: Amazon

const amazonInfo = companyFromEmail("[email protected]");
console.log(amazonInfo);

The output will be:

{
  "company": "Amazon",
  "rank": 2,
  "rank_change": 0,
  "revenue": 469822,
  "profit": 33364,
  "num_of_employees": 1608000,
  "sector": "Retailing",
  "city": "Seattle",
  "state": "WA",
  "newcomer": "no",
  "ceo_founder": "no",
  "ceo_woman": "no",
  "profitable": "yes",
  "prev_rank": 2,
  "CEO": "Andrew R. Jassy",
  "Website": "www.amazon.com",
  "Ticker": "AMZN",
  "Market_Cap": 1202717
}

Example 2: Dropbox

const dropboxInfo = companyFromEmail("[email protected]");
console.log(dropboxInfo);

The output will be:

{
  "company": "Dropbox",
  "rank": 988,
  "rank_change": 0,
  "revenue": 2157.9,
  "profit": 335.8,
  "num_of_employees": 2667,
  "sector": "Technology",
  "city": "San Francisco",
  "state": "CA",
  "newcomer": "no",
  "ceo_founder": "yes",
  "ceo_woman": "no",
  "profitable": "yes",
  "prev_rank": "",
  "CEO": "Andrew W. Houston",
  "Website": "https://www.dropbox.com",
  "Ticker": "DBX",
  "Market_Cap": 8873.5
}

Example 3: Unrecognized Email

const unknownInfo = companyFromEmail("[email protected]");
console.log(unknownInfo); // Outputs null

How It Works

Email Enricher uses a data set from Kaggle that contains information about Fortune 1000 companies. The email address you provide is compared against the URLs of the companies. Note that this is not fool-proof - some companies don't use the same URL for their email domains.

Contributions

We're very open to contributions! Whether it's adding a better data set, improving the documentation, or adding new features, all forms of contribution are welcome. To get started, simply fork the repository and create a pull request. If you're new to the project and looking for a place to start, check out the open issues.

email-enricher's People

Contributors

dominicwhyte avatar

Stargazers

Brian Roach avatar  avatar Chen Mor avatar  avatar Wildan Zulfikar avatar  avatar Sven Sackers avatar Islam Sharabash avatar Ali Memon avatar Algustionesa Yoshi avatar DK avatar Sanju S avatar Helix avatar Porramate Lim avatar Abhishek Chakravarty avatar wolfi3 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.