{"id":15405122,"url":"https://github.com/fnando/email-provider-info","last_synced_at":"2025-04-17T00:51:23.550Z","repository":{"id":36982199,"uuid":"448443803","full_name":"fnando/email-provider-info","owner":"fnando","description":"Find email provider service based on the email address.","archived":false,"fork":false,"pushed_at":"2023-11-20T16:55:19.000Z","size":121,"stargazers_count":5,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T08:06:31.969Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fnando.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["fnando"],"custom":["https://paypal.me/nandovieira/🍕"]}},"created_at":"2022-01-16T03:00:30.000Z","updated_at":"2023-07-14T15:52:35.000Z","dependencies_parsed_at":"2024-10-20T12:40:01.103Z","dependency_job_id":null,"html_url":"https://github.com/fnando/email-provider-info","commit_stats":{"total_commits":29,"total_committers":2,"mean_commits":14.5,"dds":"0.13793103448275867","last_synced_commit":"e1e12768457534a7a4b0d4570c2c96e13e6aaa1a"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Femail-provider-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Femail-provider-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Femail-provider-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Femail-provider-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fnando","download_url":"https://codeload.github.com/fnando/email-provider-info/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249294888,"owners_count":21246008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T16:15:06.205Z","updated_at":"2025-04-17T00:51:23.534Z","avatar_url":"https://github.com/fnando.png","language":"Ruby","funding_links":["https://github.com/sponsors/fnando","https://paypal.me/nandovieira/🍕"],"categories":[],"sub_categories":[],"readme":"# email-provider-info\n\nFind email provider service based on the email address.\n\nRuby:\n\n[![Ruby Tests](https://github.com/fnando/email-provider-info/workflows/ruby-tests/badge.svg)](https://github.com/fnando/email-provider-info)\n[![Gem](https://img.shields.io/gem/v/email-provider-info.svg)](https://rubygems.org/gems/email-provider-info)\n[![Gem](https://img.shields.io/gem/dt/email-provider-info.svg)](https://rubygems.org/gems/email-provider-info)\n[![MIT License](https://img.shields.io/:License-MIT-blue.svg)](https://tldrlegal.com/license/mit-license)\n\nJavaScript:\n\n[![JavaScript Tests](https://github.com/fnando/email-provider-info/workflows/js-tests/badge.svg)](https://github.com/fnando/email-provider-info)\n[![NPM](https://img.shields.io/npm/v/@fnando/email-provider-info.svg)](https://npmjs.org/package/@fnando/email-provider-info)\n[![NPM](https://img.shields.io/npm/dt/@fnando/email-provider-info.svg)](https://npmjs.org/package/@fnando/email-provider-info)\n[![MIT License](https://img.shields.io/:License-MIT-blue.svg)](https://tldrlegal.com/license/mit-license)\n\nSupported services:\n\n- AOL\n- Apple iCloud\n- BOL\n- Fastmail\n- Gmail\n- GMX\n- Hey\n- Mail.ru\n- Outlook\n- ProtonMail\n- Tutanota\n- UOL\n- Yahoo!\n- Yandex\n- Zoho\n\n## Installation\n\nThis package is available as a NPM and Rubygems package. To install it, use the\nfollowing command:\n\n### JavaScript\n\n```bash\nnpm install @fnando/email-provider-info --save\n```\n\nIf you're using Yarn (and you should):\n\n```bash\nyarn add @fnando/email-provider-info\n```\n\n### Ruby\n\n```bash\ngem install email_provider_info\n```\n\nOr add the following line to your project's Gemfile:\n\n```ruby\ngem \"email-provider-info\"\n```\n\n## Usage\n\n### JavaScript\n\n```js\nimport { getEmailProvider } from \"@fnando/email-provider-info\";\n\nconst { name, url } = getEmailProvider(\"example@gmail.com\");\n\nif (url) {\n  // Do something\n}\n```\n\n### Ruby\n\n```ruby\nrequire \"email_provider_info\"\n\nprovider = EmailProviderInfo.call(\"email@gmail.com\")\n\nif provider\n  # Do something\nend\n```\n\nAdditionally, you can use the\n[sniper link technique](https://growth.design/sniper-link) for some providers.\nAll you need to do is using `search_url(sender: string)` instead; providers that\ndon't have a search link, will default to usual inbox url.\n\n```ruby\nrequire \"email_provider_info\"\n\nprovider = EmailProviderInfo.call(\"email@gmail.com\")\n\nif provider\n  url = provider.search_url(sender: \"sender@example.com\")\n  # Do something\nend\n```\n\n### Motivation\n\nThe idea behind this package is enabling something like this, where users can go\nto their email service provider with just one click.\n\n![Example: Show button that goes straight to Gmail](https://raw.githubusercontent.com/fnando/email-provider-info/main/sample.png)\n\n## Maintainer\n\n- [Nando Vieira](https://github.com/fnando)\n\n## Contributors\n\n- https://github.com/fnando/email-provider-info/contributors\n\n## Contributing\n\nFor more details about how to contribute, please read\nhttps://github.com/fnando/email-provider-info/blob/main/CONTRIBUTING.md.\n\n## License\n\nThe gem is available as open source under the terms of the\n[MIT License](https://opensource.org/licenses/MIT). A copy of the license can be\nfound at https://github.com/fnando/email-provider-info/blob/main/LICENSE.md.\n\n## Code of Conduct\n\nEveryone interacting in the email-provider-info project's codebases, issue\ntrackers, chat rooms and mailing lists is expected to follow the\n[code of conduct](https://github.com/fnando/email-provider-info/blob/main/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffnando%2Femail-provider-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffnando%2Femail-provider-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffnando%2Femail-provider-info/lists"}