Create a mail rule for an Inbox folder
One step with Microsoft Outlook. We can help you get access.
Get something done
Create a mail rule for an Inbox folder
Works with AI assistantsUse Microsoft Outlook: its OData Service for namespace microsoft.graph Users.mail… lets you create a mail rule for an Inbox folder in a single step (POST /users/{user-id}/mailFolders/{mailFolder-id}/messageRules). Microsoft Outlook also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I create an automatic rule that moves emails from a sender into a folder?
- Can I create a mail rule that applies an action when certain conditions are met?
Say it to your AI assistant
- Create a mail rule on folder {folder_id} in mailbox {user_id}.
- Create message rule {name} on mailbox {user_id} folder {folder_id}.
For your developer
POST /users/{user-id}/mailFolders/{mailFolder-id}/messageRules in OData Service for namespace microsoft.graph Users.mail…. Full spec on APIs.io.