{"id":29138764,"url":"https://github.com/remoteoss/email_guard","last_synced_at":"2026-02-13T04:08:08.914Z","repository":{"id":48854358,"uuid":"129778605","full_name":"remoteoss/email_guard","owner":"remoteoss","description":"Elixir library for detecting disposable (burner) or non-business email addresses.","archived":false,"fork":false,"pushed_at":"2025-02-19T20:00:23.000Z","size":629,"stargazers_count":37,"open_issues_count":1,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-14T07:34:18.665Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/remoteoss.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-04-16T17:09:34.000Z","updated_at":"2025-11-13T00:09:10.000Z","dependencies_parsed_at":"2025-06-30T14:12:09.336Z","dependency_job_id":"be0b0459-b0b0-4839-a83d-0468c374d175","html_url":"https://github.com/remoteoss/email_guard","commit_stats":null,"previous_names":["svileng/email_guard"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/remoteoss/email_guard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remoteoss%2Femail_guard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remoteoss%2Femail_guard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remoteoss%2Femail_guard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remoteoss%2Femail_guard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remoteoss","download_url":"https://codeload.github.com/remoteoss/email_guard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remoteoss%2Femail_guard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29396031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T00:53:09.511Z","status":"online","status_checked_at":"2026-02-13T02:00:10.076Z","response_time":78,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-06-30T14:11:13.500Z","updated_at":"2026-02-13T04:08:08.899Z","avatar_url":"https://github.com/remoteoss.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EmailGuard [![hex.pm](https://img.shields.io/hexpm/v/email_guard.svg?style=flat-square)](https://hex.pm/packages/email_guard) [![hexdocs.pm](https://img.shields.io/badge/docs-latest-green.svg?style=flat-square)](https://hexdocs.pm/email_guard)\n\nElixir library for detecting disposable (burner) or personal email addresses.\n\nFocused on **performance** and features the **largest** database of domains availble.\n\nComes with two lists out of the box:\n\n* `DisposableList` - based on [mailchecker's list](https://raw.githubusercontent.com/FGRibreau/mailchecker/master/list.txt), total **33,606 domains**;\n* `FreeList` - based on [this list](https://gist.github.com/ammarshah/f5c2624d767f91a7cbdc4e54db8dd0bf) excl. already listed in `DisposableList`, total **5009 domains**.\n\nYou can also plug your own dataset by implementing the `EmailGuard.List` behaviour ✌️\n\n## Installation\n\nAdd to your `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:email_guard, \"~\u003e 1.0\"}\n  ]\nend\n```\n\nIf you're not using [application inference](https://elixir-lang.org/blog/2017/01/05/elixir-v1-4-0-released/#application-inference), then add `:email_guard` to your `applications` list.\n\n## Usage\n\nChecks if given email or domain is present in email lists:\n\n```elixir\niex\u003e EmailGuard.check(\"svilen@gmail.com\")\n:ok\n\niex\u003e EmailGuard.check(\"gmail.com\")\n:ok\n```\n\nBy default it will check against `EmailGuard.DisposableList`:\n\n```elixir\niex\u003e EmailGuard.check(\"svilen@mailinator.com\")\n{:error, EmailGuard.DisposableList}\n```\n\nYou can specify the email list modules, e.g. including the provided one\nfor free email service providers:\n\n```elixir\niex\u003e lists = [EmailGuard.DisposableList, EmailGuard.FreeList]\n[EmailGuard.DisposableList, EmailGuard.FreeList]\n\niex\u003e EmailGuard.check(\"svilen@gmail.com\", lists)\n{:error, EmailGuard.FreeList}\n```\n\nTo provide your own custom list see the `EmailGuard.List` behaviour.\n\nNote that `EmailGuard` expects a valid email address or domain as input.\n\n## Benchmark\n\n```sh\nMIX_ENV=bench mix run bench/check_bench.exs\n```\n\n\n## License\n\nSee LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremoteoss%2Femail_guard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremoteoss%2Femail_guard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremoteoss%2Femail_guard/lists"}