Tidy your Outlook inbox with AI that sorts and files emails for you. It reads each new message, assigns clear categories, and moves it to the right folder. Great for busy teams that want a clean inbox without manual work.
Here is how it runs. Outlook pulls messages that are not flagged and do not have any category. The flow loops through each email, converts the body to clean text, and sets key fields. An AI agent using an Ollama chat model decides on a category and subcategory. The output is forced into JSON and errors are caught so the process keeps going. A switch maps each category to the right Outlook actions. The email gets tagged with categories and moved to a matching folder. A read check controls where the message goes next, and results merge back to continue the loop.
To set it up, you need Microsoft Outlook with mail permissions and access to an Ollama server running the qwen2.5 14b model. Update the category map and folder IDs to match your mailbox. Expect faster inbox triage for shared mailboxes like sales or support, and more consistent tags across the team.