Email provider service detector
Detect Provider's Service name by email address
team@youtubecom -> name: 'Gmail' url: 'https://googlemail.com' test@kinopoiskru -> name: 'Яндекс' url: 'https://yandex.ru'
How it words
- Fetching DNS MX records for email address
- Find MX host at the free email services datastore, collected by freemail
- Find Service product name by its hostname (
googlemail.com
->Gmail
)
Usage
Install
npm i --save email-provider
or
yarn add email-provider
Connect and call
const emailProvider = ; let email = 'test@google.com'; emailProvider