Offline email workflow: templates and duplicate protection
I built an original Python prototype that reads synthetic EML messages, applies deterministic routing rules, fills editable English templates and records processing outcomes in SQLite.
The eight included inputs produce two reply drafts, five cases for review and one ignored autoresponder. Processing those inputs again produces eight duplicate results without creating additional drafts.
Fifteen automated tests cover field preservation, template reloads, duplicate processing, incomplete or ambiguous messages, malformed templates and reply-loop suppression.
This is an offline demonstration built with AI assistance. It has no live mailbox connection, AI classifier or sending function. The sample demonstrates the processing logic; it is not a previous client engagement or a production deployment. Runnable source and synthetic examples are available on request.
Like this project
Posted Sep 16, 2026
Original AI-assisted Python demo: 15 passing tests, 8 synthetic emails, duplicate protection and review drafts. No live mailbox or sending.