This chapter covers the core features and capabilities of List Hygiene Tool.
+alias tagsFollow this guide to get List Hygiene Tool up and running in your environment.
# Clean a text file (one email per line)
python src/list_hygiene.py examples/sample_emails.txt
# Output as CSV
python src/list_hygiene.py emails.txt --output clean.csv --format csv
# Generate a cleaning report
python src/list_hygiene.py emails.txt --report
# Keep role addresses (don't filter them out)
python src/list_hygiene.py emails.txt --keep-roles
# Keep disposable domains
python src/list_hygiene.py emails.txt --keep-disposable
# Disable typo correction
python src/list_hygiene.py emails.txt --no-typo-fix
# Disable deduplication
python src/list_hygiene.py emails.txt --no-dedup| Check | Example | Action |
|---|---|---|
| Invalid syntax | not-an-email | Removed |
| Disposable domain | [email protected] | Removed (unless --keep-disposable) |
| Role address | [email protected] | Removed (unless --keep-roles) |
| Domain typo | [email protected] | Corrected to [email protected] |
| Duplicate | Multiple [email protected] | Deduplicated |
| Gmail dots | [email protected] | Normalized to [email protected] |
| Plus aliases | [email protected] | Normalized to [email protected] |
Get the full List Hygiene Tool and unlock everything.
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Downloadable source code, configuration files, and working examples from every chapter.
Free updates for life. Every new chapter, tool, and improvement included.