Triages a shared ministerial inbox: classifies every incoming email by topic and urgency, assigns it to the right department, and drafts a suggested acknowledgement reply. Runs on a schedule against an IMAP mailbox.
What it does
- Classifies email into topics (complaint, request, invitation, media, internal).
- Scores urgency (P1-P3) from language and named deadlines.
- Routes to a department mailbox and drafts an acknowledgement.
Run
Repository Files
ministerial-inbox-classifier9 files
README.mdmarkdown
| 1 | # Ministerial Inbox Classifier |
| 2 | |
| 3 | Triages a shared ministerial inbox: classifies every incoming email by topic and urgency, |
| 4 | assigns it to the right department, and drafts a suggested acknowledgement reply. Runs on a |
| 5 | schedule against an IMAP mailbox. |
| 6 | |
| 7 | ## What it does |
| 8 | - Classifies email into topics (complaint, request, invitation, media, internal). |
| 9 | - Scores urgency (P1-P3) from language and named deadlines. |
| 10 | - Routes to a department mailbox and drafts an acknowledgement. |
| 11 | |
| 12 | ## Run |
| 13 | ```bash |
| 14 | pip install -r requirements.txt |
| 15 | cp .env.example .env |
| 16 | python main.py --once # single pass; drop --once to poll |
| 17 | ``` |
| 18 |