What makes Outlook easy or hard to automate
Microsoft Graph gives one API for mail, calendar, contacts and the rest of Microsoft 365. Messages can be read, moved, categorized, flagged and replied to; drafts can be created inside a conversation; calendar events can be searched and booked. Categories and folders play the role Gmail labels play, so automations can mark their work visibly.
Change notifications let a workflow react to new mail instead of polling. You create a subscription for a mailbox or folder, Graph posts to your endpoint when messages arrive, and you fetch the message. Subscriptions for messages and events expire in under seven days (under one day if you ask for message content in the notification), so renewal is part of the build.
The main difficulty is identity and permissions. Decide early whether a workflow runs as a person (delegated) or as an app (application), get admin consent, and scope app access to the mailboxes it needs.
The AI layer
Outlook delivers the conversation. The AI handles the reading and writing:
- Triage. A model sorts mail into a short list of categories and urgency levels, which drives folders, categories and assignments.
- Extraction. Customer names, PO numbers, dates and amounts come out of the body and attachments into structured fields.
- Drafting. Draft replies created in the thread let a person approve in one click rather than write from scratch.
Clean the HTML body and drop quoted history before it reaches the model.
Limits to plan around
- Per-mailbox throttling. Graph allows about 10,000 requests per 10 minutes and four concurrent requests per app per mailbox. A busy shared mailbox processed message by message can hit this, so batch and back off.
- Subscription renewal. Message and event subscriptions last under seven days. Missed renewals mean silent gaps, so add a scheduled check.
- EWS retirement. EWS is being disabled in Exchange Online from October 2026, with full shutdown planned for April 2027. Legacy tools that depend on it will stop working, so inventory them now.
- Attachment size. Large attachments need upload sessions and count toward upload limits.
How Lumeor typically connects it
For a shared mailbox we usually run n8n or Power Automate with a Graph connection scoped to that mailbox, an LLM step for triage and drafting, and Teams for alerts. High-volume or multi-mailbox setups get a small service with Graph change notifications. The inbox triage guide applies directly, and n8n vs Power Automate helps you pick the platform. Teams and SharePoint are usually part of the same build, see our SharePoint page.