Open-source email threat analysis platform for identifying spam, phishing, and malicious content with precision.
EMLyzer analyzes suspicious emails by uploading .eml or .msg files, or pasting the raw source directly. In seconds, it delivers a complete report with explainable risk score, header analysis, body content assessment, URL evaluation, attachment inspection, and reputation service checks.
Tip
๐ก No API keys required to get started. Integrations with external services (AbuseIPDB, VirusTotal, etc.) are optional and configurable later.
| ๐ Document | ๐ Purpose |
|---|---|
| ๐ REQUIREMENTS.md | System requirements and prerequisites |
| ๐ INSTALLATION.md | Step-by-step installation guide |
| โ๏ธ CONFIGURATION.md | Environment setup and API keys |
| ๐ USAGE.md | How to use the application |
| ๐ก API.md | REST API reference for developers |
- Install Python 3.13 from python.org (check "Add Python to PATH")
- Download and extract the project
- Double-click
start.bat - Open your browser to http://localhost:8000
git clone https://github.com/overwrite00/EMLyzer.git
cd EMLyzer
chmod +x start.sh
./start.shThen open http://localhost:8000
โฑ๏ธ First run downloads and installs dependencies (~2-5 minutes). Subsequent runs start in seconds.
Email (.eml / .msg / plain text)
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ง Header Analysis โ SPF/DKIM/DMARC, โ
โ identity mismatch, โ
โ SMTP routing โ
โ โ
โ ๐ Body Analysis โ phishing patterns, โ
โ obfuscated links, โ
โ hidden HTML, NLP โ
โ โ
โ ๐ URL Analysis โ direct IPs, โ
โ shorteners, โ
โ Punycode, domain โ
โ age (WHOIS) โ
โ โ
โ ๐ Attachment Analysis โ hashes, VBA โ
โ macros, JS in PDF โ
โ โ
โ ๐ Reputation Checks โ AbuseIPDB, โ
โ VirusTotal, โ
โ OpenPhish, PhishTank
โ Shodan, URLhaus... โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
๐ Risk Score 0โ100 + ๐ Editable .docx Report
- ๐ Complete email analysis โ Headers, body, URLs, attachments
- ๐ง AI-powered phishing detection โ Machine learning classifier (Random Forest)
- ๐ Multi-language support โ Italian ๐ฎ๐น and English ๐ฌ๐ง
- ๐ก๏ธ 19 reputation services โ AbuseIPDB, VirusTotal, crt.sh, Shodan, and more
- ๐ Editable reports โ Generate professional Word (.docx) documents
- ๐จ Modern web UI โ Clean, responsive interface (React 19 + Vite)
- ๐พ Offline-first โ No cloud dependencies, local SQLite database
- ๐ Free & open-source โ MIT license, MIT licensed dependencies only
- ๐ Fast analysis โ Email analyzed in seconds, not minutes
- ๐ฑ Cross-platform โ Windows, macOS, Linux
v0.15.1 โ ๐ Bugfix release: Campaign detection now includes visible HTML text (Silvercrest and other campaigns correctly detected), NLP score consistency fixed (both backend and frontend use standard mathematical rounding), removed duplicate emoji, cleaned debug logging. All 119 tests passing โ , production-ready.
๐ See full version history โ CHANGELOG.md
- Python 3.11โ3.13 (3.13 recommended โญ)
- RAM 512 MB minimum (1 GB recommended)
- Disk 500 MB for installation
- Browser Chrome, Firefox, Safari, or Edge (90+)
Important
โ For complete requirements, see REQUIREMENTS.md
Follow INSTALLATION.md for step-by-step instructions.
Set up optional reputation services in CONFIGURATION.md.
Learn the interface in USAGE.md.
Explore the API in API.md.
| Layer | Technology | Notes |
|---|---|---|
| Backend | Python 3.13, FastAPI, SQLAlchemy async | REST API + email analysis engine |
| Frontend | React 19, Vite 8, no external UI libs | Responsive web dashboard |
| Database | SQLite (local) | No external DB required |
| Analysis | scikit-learn NLP, dnspython, beautifulsoup4 | Phishing detection + URL parsing |
| Reports | python-docx | Editable Word documents |
โ 119 automated tests โ all passing, zero technical debt
- Unit tests for all analyzers
- Integration tests for API routes
- Reputation service mocking
- CI/CD on every commit (GitHub Actions)
Run locally:
./run_tests.sh # Linux/macOS
run_tests.bat # Windows- ๐ก๏ธ No cloud dependencies โ Everything runs locally
- ๐ No telemetry โ Zero data collection
- ๐ Local SQLite โ Your data stays on your machine
- ๐ Open source โ Fully auditable code
- โก Offline capable โ Works without internet (except reputation services)
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/your-feature) - Commit changes with clear messages
- Push to your fork
- Open a Pull Request to
developbranch
Note
๐ All PRs should target the develop branch, not main.
Distributed under the MIT License. See LICENSE for details.
- ๐ Documentation: See docs/ folder
- ๐ Report issues: GitHub Issues
- ๐ฌ Questions: Open a GitHub Discussion
Developed by Graziano Mariella
Distributed with MIT License ยท View License
Last updated: 2026-06-07 โ Contributing | Docs โ
