Email Triage Agent
Autonomous inbox management
50 emails triaged in 13s, down from 8 minutes
A persistent agent that sorts high-volume Outlook inboxes automatically and rescues legitimate mail from junk.
Full detail
The problem
High-volume Outlook inboxes needed constant manual sorting, and legitimate contacts occasionally landed in junk unseen.
What was built
Persistent Python agent that authenticates to Microsoft Graph (MSAL device-code flow, cached token), applies sender rules first, batch-classifies the rest with an LLM (Actionable, Automated, Spam), moves messages to the right folders, and rescues protected contacts from junk. Replicated across multiple staff inboxes from a reusable build prompt.
Impact
Cut triage of 50 emails from roughly 8 minutes to about 13 seconds.
Stack
- Python
- Microsoft Graph API
- MSAL
- Anthropic API
- Local JSON classification cache
- Continuous polling service
