How mandal-suman/envelopex works
Project type and purpose
• EnvelopeX is a full-stack, single-page Flask web application for email forensics.
• It ingests EML/TXT email files, parses and analyzes them (authentication, URLs, attachments, etc.), then renders results in an 8-tab dashboard.
File structure
• Top-level:
• app.py – Flask entry point
• requirements.txt – Python dependencies
• core/ – business-logic modules (parser.py, analyzer.py)
• templates/ – Jinja2 HTML templates (index.html, error pages)
• static/ – CSS and JavaScript assets
• No database directory: it uses in-memory data structures and browser localStorage for history.
• Dependencies in requirements.txt include Flask, dkimpy, dnspython, BeautifulSoup4, etc.
Extract additional architectural insights from the README
• Backend: Flask 3.0.0, Flask-CORS
• Core analytics: SPF, DKIM, DMARC checks, URL/IP threat detection, MIME structure parsing
• Frontend: Vanilla JS, Chart.js, Font Awesome, HTML sanitization, drag-and-drop upload
• External services: DNS lookups (SPF, DKIM, DMARC), optional IP reputation or WHOIS queries