A curated, auto-updated open-source list of disposable email domains used in spam, bots, and temporary email services.
GhostMail Collector is a powerful, automated tool that compiles and maintains the most comprehensive list of disposable email domains. It fetches, validates, and deduplicates domains from trusted open-source repositories, ensuring high accuracy for:
- Email validation
- Anti-spam filters
- User registration checks
- Integration into SaaS, backends, or APIs
The list is updated daily via GitHub Actions and stored in two formats:
- 📄
data/raw_domains.txt: All collected domains (~180K). - 📄
data/disposable_emails.txt: Domains with valid MX records (~32K).
data/raw_domains.txt: Complete, deduplicated list of disposable email domains from all sources (~180,000 domains).data/disposable_emails.txt: Filtered list of domains with valid MX records, ideal for strict email validation (~32,000 domains).data/collector_log_*.txt: Logs detailing fetch results, MX checks, and excluded domains.
Both .txt files are plain text, one domain per line, ready for integration.
- A Python script fetches domains from multiple open-source repositories.
- Domains are cleaned, deduplicated, and validated for format.
- MX records are checked to filter domains with active email capabilities.
- GitHub Actions runs the script daily at 04:00 UTC.
- Results are committed to
data/raw_domains.txtanddata/disposable_emails.txt.
The collector aggregates domains from the following trusted sources:
- disposable-email-domains: Comprehensive blocklist of disposable email domains.
- ivolo/disposable-email-domains: Extensive JSON-based disposable domain list.
- Tremendous API: Prohibited email domains for financial services.
- disposable/disposable-email-domains: Curated lists (standard and strict) of temporary email domains.
- StopForumSpam: Toxic domains used in spam activities.
- adamloving/temporary-email-address-domains: Gist of temporary email domains.
- unkn0w/disposable-email-domain-list: Community-maintained disposable domain list.
- GeroldSetz/emailondeck.com-domains: Domains from emailondeck.com.
- FGRibreau/mailchecker: Broad list of disposable email domains.
-
Clone the repository:
git clone https://github.com/michaelshapkin/ghostmail-collector.git cd ghostmail-collector -
Install dependencies:
pip install -r requirements.txt
-
Run the collector:
python src/collector.py
-
Check outputs in
data/:raw_domains.txtdisposable_emails.txtcollector_log_*.txt
- Total domains: ~180,000 (deduplicated across all sources)
- MX-validated domains: ~32,000 (domains confirmed with active MX records via strict check)
- Update frequency: Daily at 04:00 UTC (via GitHub Actions)
- Processing time: ~1 hour and 23 minutes (fetching + MX checks using 10 workers)