PROJECT 09 • DAY 28 OF 90 • EMAIL ATTACHMENT & FILING AI

ATTACHORA
SMART FILING AI.

An automated email attachment classifier and document filing workstation — parsing MIME streams, applying rule-based category tagging, detecting duplicate hashes, and maintaining a secure, organized filing vault.

Python 3.11+FastAPIReact 19TypeScript 5.7Tailwind CSSSQLiteFile-Type Magic24/24 Pytest
ATTACHORA Preview
FILING ENGINE
Rule + MIME Matrix
PYTEST SUITE
24 / 24 Passed
Smart Rules
Automated Path Filing
SHA-256
Duplicate Suppression
Zero-Config
Local SQLite Vault
24 / 24
Automated Pytest Passed
01 / Overview

ORGANIZING INBOX ATTACHMENTS WITHOUT MANUAL SORTING.

Invoices, contracts, and tax receipts arrive scattered across email threads with cryptic filenames. ATTACHORA monitors mail queues, inspects true binary magic bytes, categorizes documents, and archives them into standardized folder hierarchies.

01

Attachment Queue Stream

Live table tracking received files with true MIME detection, sender context, and automated confidence chips.

02

Smart Filing Rules

Configurable pattern-matching rules sorting attachments into categorized directories based on sender, file extension, and naming tokens.

03

Organized Library Explorer

Interactive file tree workstation displaying stored documents with one-click preview and full-text metadata search.

04

Integrity & Security Center

SHA-256 hash digests prevent duplicate file storage and ensure tamper-evident storage compliance.

05

Automated Renaming

Transforms obscure attachment filenames (e.g., Scan_001.pdf) into standardized canonical paths based on metadata.

06

Local-First Storage

Runs 100% locally on your machine without transmitting sensitive corporate documents to third-party cloud servers.

02 / Architecture

HOW IT WORKS.

Deterministic MIME parsing and regex categorization pipeline backed by FastAPI and React 19.

STAGE 01

MIME Ingestion

Parses raw email streams and extracts binary attachments.

→
STAGE 02

Magic Bytes Audit

Verifies true file types (PDF, XLSX, CSV) to block spoofing.

→
STAGE 03

Rule Evaluation

Matches sender domain and subject regex against filing rules.

→
STAGE 04

SHA-256 Check

Suppresses duplicate files via content-addressable hashing.

→
STAGE 05

Vault Archival

Writes sanitized, renamed files to structured target library.

03 / Screenshots

APPLICATION SCREENSHOTS.

Live screens captured from the running application. Click any image to view full size, or follow setup instructions in the GitHub repository.

04 / Technical Details

FILING ENGINE CAPABILITIES & VERIFIED SPECS.

Key modules, rules, safety checks, and automated test results documented in the repository.

Subsystem Technical Implementation Verified Capability
MIME Inspection python-magic / binary header verification Zero extension spoofing vulnerability
Filing Automation Ordered regex priority rules engine 100% deterministic folder dispatch
Deduplication Chunked SHA-256 checksum registry Zero duplicate disk storage footprint
Test Suite Pytest unit & integration coverage 24 / 24 automated tests passed
05 / Tech Stack

CORE TECHNOLOGIES.

Frameworks, databases, visualization tools, and testing libraries used in ATTACHORA.

BACKEND API
FastAPI (Python 3.11+)
FRONTEND UI
React 19 • TypeScript 5.7
STYLING
Tailwind CSS
DATABASE ORM
SQLite 3 • SQLAlchemy
SECURITY
SHA-256 Checksums • File Magic
VERIFICATION
Pytest (24/24 Passed)
06 / Next Steps

FUTURE ENHANCEMENTS.

Upcoming improvements planned for ATTACHORA.

OCR text extraction for scanned document text indexing and full-text search.
Local LLM classification for ambiguous unstructured document categorization.
Direct Webhook integrations for Google Workspace and Microsoft 365.
OPEN-SOURCE PROJECT • GITHUB.COM/RAGURAMRRP

EXPLORE SOURCE & DOCS.

View the complete codebase, sample datasets, quick-launch scripts, and automated test suites on GitHub.