Post

7 Best Email Scraper Projects on GitHub, Compared (2026)

Compare 7 GitHub email scraper projects with real stars, forks, and last-commit data, including MailGrab's new v2.0.0 release with concurrent crawling and an MCP server.

7 Best Email Scraper Projects on GitHub, Compared (2026)

Best Email Scraper Projects on GitHub with Strong Community Support

Open-source email scrapers remain popular among developers, marketers, researchers, and cybersecurity professionals who need to extract publicly available contact information from websites. GitHub hosts hundreds of email extraction projects, though, which makes it hard to tell which repositories are actually maintained, trusted, and useful versus abandoned or barely tested.

This guide compares seven email scraper projects on GitHub using live data pulled from the GitHub API: stars, forks, last commit date, and whether each one has seen a real commit in the last six months. It also covers what to check before trusting any open-source scraper with real work.

Always comply with local privacy laws, website terms of service, GDPR, CAN-SPAM, and other applicable regulations when collecting or using email addresses.

Email scraper GitHub comparison table

ToolStarsForksLast commitLanguageActively maintained
Email Scraper Tool289Nov 4, 2024PythonNo
theHarvester18,5332,779Nov 21, 2026PythonYes
EmailHarvester999196Jun 7, 2026PythonYes
Email-Scraping6929Feb 21, 2018PythonNo
Email-Harvester22Sep 15, 2021PythonNo
GHunt19,9481,763Apr 10, 2026PythonNo
MailGrab115Dec 3, 2026PythonYes

Numbers came from the GitHub API (api.github.com/repos/<owner>/<repo>) on December 3, 2026 (first pulled on September 12, 2026). “Last commit” is the newest commit on each repo’s default branch. “Actively maintained” means at least one real commit in the six months before December 3, 2026, not just an open repository. Stars and forks change constantly, so treat this table as a dated snapshot and check the repo yourself before relying on any of these for real work. MailGrab is built by the author of this blog.

Two things stand out. First, the star counts split into two clear tiers: theHarvester and GHunt sit at roughly 18,500 to 20,000 stars because both are general OSINT tools that security researchers use for far more than email addresses, while the five purpose-built email scrapers on this list top out at under 1,000. Second, three of the seven repositories have gone more than a year without a commit, and GHunt hasn’t had one since April 2026. A high star count from years ago does not tell you whether the code still works against today’s websites.

What makes a good email scraper project

Most of these tools need a list of websites to start from. For local businesses, that list often comes from Google Maps; our google-maps-scraper-kit review covers one way to get it and the Terms of Service risk involved.

A quality email scraper project typically includes active maintenance, clear documentation, positive community engagement, export capabilities (CSV, JSON, Excel), efficient crawling, email validation, and sensible error handling with duplicate removal. The best projects extract emails and keep the resulting data usable afterward.

1. Email Scraper Tool by Adrian Tomin

A Python-based crawler that recursively visits web pages and extracts email addresses using pattern matching and automated link discovery. It’s a small project (28 stars, 9 forks) and hasn’t had a commit since November 2024, so there’s no active maintainer fixing anything that breaks. The code is simple enough to read in one sitting, which is exactly why it still gets recommended for learning. Best for Python learners, small business research, and basic lead discovery where you’re comfortable debugging it yourself if a site’s markup changes.

2. theHarvester

theHarvester is one of the most widely used open-source OSINT tools in security work, not built specifically as an email scraper but capable of pulling emails, subdomains, hosts, and employee names from public sources like search engines and PGP key servers. At 18,533 stars and 2,779 forks, with its latest commit on November 21, 2026 and its latest release (4.11.1) from June 2026, it’s still the most actively developed project on this list by a wide margin. Best for OSINT investigations, reconnaissance work, and anyone who wants a tool with a real security-community track record and ongoing maintenance behind it.

3. EmailHarvester

A search-engine-based email harvesting tool that queries multiple search engines to compile email addresses tied to a target domain. With 999 stars and 196 forks, it’s more established than most single-purpose scrapers here, though maintenance is uneven: the repository went quiet after a March 2025 update, then had three community pull requests merged within two days in early June 2026, and nothing since. That last burst, on June 7, 2026, is what keeps it just inside our six-month window. That pattern, long gaps followed by short bursts of merges, is worth knowing before you depend on it for anything time-sensitive. Best for quick, targeted domain-specific email discovery where you can tolerate an unpredictable release cadence.

4. Email-Scraping by Ayush Agarwal

This project focuses on bulk website processing, letting you scan multiple domains and collect unique email addresses in one pass. It has 69 stars and 29 forks, but the newest commit on its default branch dates from February 21, 2018, even though GitHub shows the repository was last pushed to in June 2024. The core scraping logic still runs; there’s just nobody actively patching it. Best for agency research, market analysis, and bulk prospecting, with the understanding that you’re on your own if it breaks.

5. Email-Harvester by eyuelberga

A minimal domain email collector with 2 stars and 2 forks. The entire commit history is a single push from September 2021, the day the repository was created, and nothing since. This one is included for completeness rather than as a strong recommendation: it’s a reasonable read for seeing a stripped-down implementation, but there’s no maintenance to speak of. Best for a quick look at a minimal single-file approach, not for extraction work you depend on.

6. GHunt

GHunt is a well-known OSINT tool focused specifically on Google accounts, pulling public information tied to a Gmail address or Google account, including, in many cases, associated contact details. It’s the most-starred project on this list at 19,948 stars and 1,763 forks, with 58 open issues and 22 open pull requests that reflect real, heavy usage. Its commit history shows merges in February, March, and April 2026, then nothing: as of December 3, 2026 the last commit is from April 10, 2026, and the last tagged release (v2.2.0) dates from June 2024. That’s almost eight months without a commit, so it now falls outside our “actively maintained” window. A mature tool can sit quietly for a while and keep working, but check the open issues before you rely on it. Best for OSINT work centered on Google accounts rather than general website scraping.

7. MailGrab

Disclosure: MailGrab is built by the author of this blog.

MailGrab shipped its first tagged release, v2.0.0, on September 3, 2026, and it’s a genuinely different tool than the single-line description you’ll see elsewhere. The rewrite moved it from a single-threaded scraper to a concurrent, robots.txt-aware crawler, backed by a 43-test suite. What’s new in v2.0.0:

  • Concurrent fetching through a thread pool (--concurrency), a shared connection-pooled session, per-request timeouts, and rate limiting that respects robots.txt’s own Crawl-delay
  • --same-domain scoping and robots.txt compliance by default, with --ignore-robots to opt out when needed
  • De-obfuscation for “name [at] domain [dot] com”-style text and Cloudflare’s data-cfemail spans, plus direct mailto: parsing
  • Per-seed hop limiting, sitemap-seeded discovery, structured _emails.csv and _results.json output with per-email source URLs, append/resume support, and optional MX-record validation
  • An MCP server (mailgrab_mcp_server.py) that exposes crawling as a crawl_website tool over the Model Context Protocol, so Claude Code, Claude Desktop, Cursor, GitHub Copilot, and Codex CLI can crawl a site and pull emails directly instead of shelling out to the CLI

The repository itself is still small next to theHarvester or GHunt (11 stars, 5 forks), but its commit history is the most active of any tool here: v2.0.0 is still the latest release, and it had commits as recently as December 3, 2026, mostly dependency updates. We’ve covered the install and basics in our original MailGrab post, and the v2.0.0 changes, including how the MCP server isolates each crawl, in the MailGrab v2.0.0 write-up. Best for automated workflows, larger website networks, and AI coding agents that need email extraction as a callable tool rather than a shell command.

How to evaluate GitHub email scraper projects yourself

The table above is a snapshot, not a permanent ranking. Before using any repository, pull its current stats yourself (https://api.github.com/repos/<owner>/<repo> works in a browser, no auth needed) and check its activity: recent commits, active issue discussions, a maintainer who actually responds, and documentation that’s kept current. An inactive project can stop working quickly as websites change their markup or add new anti-scraping measures.

Community signals matter too, but read them in context: stars and forks measure how many people found a project at some point, not whether it works today. EmailHarvester and GHunt both show that a long gap between commits doesn’t automatically mean abandonment, and a fresh commit doesn’t automatically mean the project is well-tested. Check the documentation itself: a project with a real installation guide, usage examples, and a troubleshooting section is much less likely to waste your time than one with a bare one-line README.

Email scraping sits in a legal gray area depending on jurisdiction and how the data gets used. Scrape only publicly available information, respect robots.txt where it applies, follow the target website’s terms of service, comply with GDPR and other relevant privacy regulations, and avoid unsolicited mass outreach with whatever you collect. Collecting data responsibly protects you and whoever you’re collecting it about.

If you do go on to email the people on a list, the sending side has its own rules. Our comparison of open-source bulk email senders covers the tools, and the open-source email outreach hub collects the rest of this series, from mail servers to domain warm-up.

Final thoughts

Stars are a popularity signal, not a maintenance signal. theHarvester (18,533 stars) and GHunt (19,948 stars) dwarf everything else on this list, but that reflects their much broader OSINT use case, not necessarily cleaner email extraction. Three of the seven repositories here, Email Scraper Tool, Email-Scraping, and Email-Harvester by eyuelberga, haven’t had a commit in over a year, which doesn’t make them useless for a one-off job, but does mean you’re the only one who’ll fix anything that breaks.

If you want a tool someone is actively shipping updates to right now, theHarvester and MailGrab both had commits in the two weeks before December 3, 2026. GHunt hasn’t had one since April 2026. Weigh that recent-commit evidence more heavily than star count when you’re choosing what to build a real workflow on.

Frequently asked questions

What is the best open-source email scraper on GitHub? There’s no single universal winner. theHarvester and GHunt have the largest communities but are built for broader OSINT work; MailGrab and EmailHarvester are more narrowly focused on email extraction. MailGrab still gets regular commits; EmailHarvester’s last one was on June 7, 2026.

Which of these GitHub email scrapers are actively maintained? Based on commit history as of December 3, 2026: theHarvester, EmailHarvester, and MailGrab have all had commits within the last six months. GHunt (last commit April 10, 2026), Email Scraper Tool by Adrian Tomin (November 2024), Email-Scraping by Ayush Agarwal (February 2018 on its default branch), and Email-Harvester by eyuelberga (a single commit from September 2021) have not.

What changed in MailGrab’s v2.0.0 release? Published September 3, 2026, it added concurrent crawling, robots.txt compliance, sitemap-seeded discovery, email de-obfuscation, structured CSV/JSON output, optional MX validation, and an MCP server so AI coding agents like Claude Code and Cursor can crawl a site for emails directly, all covered by a 43-test suite.

Are GitHub email scrapers free? Most of these repositories are open-source and free to use, though some workflows may depend on paid APIs or external services you connect them to.

Is email scraping legal? It depends on your location, where the data comes from, and how you use it afterward. Check applicable privacy and marketing regulations before relying on scraped data for outreach.

Which language is most common for email scrapers? Python, by a wide margin, because of its mature ecosystem for web crawling, parsing, and automation. All seven projects in this comparison are written in Python.

Author bio

Nakshatra Ranjan Saha is a digital entrepreneur and technology enthusiast who researches open-source tools, automation systems, and digital growth strategies. Through practical testing and analysis, he helps businesses identify reliable software solutions for modern workflows.

This post is licensed under CC BY 4.0 by the author.