Sort incoming Outlook mail with AI and route it to the right folders without manual work. Great for teams that receive many messages and need fast, clean inbox triage with clear labels and next steps.
The flow pulls new emails from Outlook and ignores messages that are flagged or already labeled. Each email is cleaned into simple text, then sent to a local AI model for category and subcategory. The result is forced into JSON and errors are caught so the run keeps going. A switch maps AI results to Outlook categories and target folders. Read status is checked before moving, and updates happen in place so the inbox stays organized.
To run it well, you need a Microsoft 365 mailbox with permission to read, label, and move emails, and an Ollama install with the qwen2.5 14b model available. Map your own Outlook folder IDs and category names in the switch and update nodes. Expect faster triage, fewer mistakes, and a clear view of what needs action. Works well for shared support inboxes, sales leads, or operations alerts where speed and consistency matter.