# Sort Outlook email automatically: rules, Focused Inbox and AI

> How to make Outlook sort email into folders on its own: inbox rules in new, classic and web Outlook, Focused Inbox, and when an AI agent does better.

Updated: 2026-10-20 · Fact-checked: 2026-10-20 · Canonical: https://commandmail.app/en/guides/sort-outlook-email-automatically · Deutsch: https://commandmail.app/de/anleitungen/outlook-automatisch-sortieren.md

Outlook sorts email automatically with inbox rules. You set a condition and an action, such as "mail from news@shop.example goes to the Newsletters folder", and Outlook applies it to every new message. Focused Inbox adds a second, rule-free layer that separates mail you care about from bulk mail. An AI agent only earns its place once your criteria stop fitting into a fixed condition.

This guide covers the built-in tools first, across all four versions of Outlook, then their limits, then two ways to bring in an agent. One of them is Command Mail, which we make. Command Mail sorts copies of your mail and leaves the Outlook mailbox itself untouched. If you want the original mailbox in order, Outlook's own rules are the tool for that.

## What you end up with

Recurring mail such as newsletters, shipping notices and app notifications lands in its own folders without you touching it. Your inbox mostly shows mail from people you actually correspond with. You know which rule moves which message, and you can switch each one off on its own.

## Before you start

You need an Outlook account and to know which Outlook you are using. Microsoft's help covers four: new Outlook for Windows, classic Outlook, Outlook on the web for work or school accounts, and Outlook.com for personal accounts like @outlook.com or @hotmail.com.[^1] The menus differ; the logic is the same everywhere.

Every rule needs at least a name, a condition and an action, and it can carry exceptions.[^1] Create the target folders first, or create them while you set up the rule.

## Which Outlook feature does what?

| Tool | What it does | Good for | Limit |
|---|---|---|---|
| Inbox rule | Runs a fixed action whenever its condition matches | Known senders, subject words, mailing lists | Only understands exact conditions |
| Focused Inbox | Splits the inbox into Focused and Other, learns from you | Pushing bulk mail out of the way | No folders, just two tabs |
| Archive, Move to, Sweep (Outlook.com) | Move or delete mail already in the inbox | A backlog no rule covers | Documented for Outlook.com only |
| AI agent | Reads content and proposes groups or rules | Fuzzy criteria, mixed senders | Needs access and clearly scoped permissions |

## Step by step: a rule in new Outlook and Outlook.com

New Outlook for Windows and Outlook.com work almost identically.[^1]

1. In the message list, right-click a message from the sender you want to sort.
2. In new Outlook, hover over `Rules` and choose `Create rule`; in Outlook.com, choose `Rule`, then `Create rule`.
3. Pick the destination folder and select `OK`. New mail from that sender now goes there.
4. For more than a sender-to-folder move, select `More options` instead of `OK`. Use `Add a condition`, `Add an action` and `Add an exception`, for example an exception for subjects containing "invoice".
5. Tick `Stop processing more rules` if this rule should be the last one to act, then select `Save`.

To build a rule from scratch, go to `Settings` → `Mail` → `Rules` → `Add new rule`. The same page lets you reorder rules with the arrows and pause a rule with the toggle next to its name.[^1]

New Outlook can also run a rule on existing messages from that rules page. Outlook.com currently can't: Microsoft says a new rule there applies only to mail that arrives after you create it, and points to Archive, Move to and Sweep for the backlog.[^1]

## In classic Outlook and Outlook on the web

In classic Outlook, right-click a message and choose `Rules` → `Create Rule`. Pick a condition such as `Subject contains` and the action `Move the item to folder`. Tick `Run this new rule now on messages already in the current folder` and Outlook sorts the backlog too.[^1] Templates and the full rule list live under `File` → `Manage Rules & Alerts`, where `Run Rules Now` applies chosen rules to a folder later.

Some classic rules only run while Outlook is open on your computer, and Outlook warns you when you create one.[^1] These client-side rules don't always carry over: new Outlook can't process some of them, and Microsoft's advice is to recreate them there.

In Outlook on the web, go to `Settings` → `Mail` → `Rules` → `Add new rule`. Microsoft notes that `Stop processing more rules` is on by default there, so when a message matches several rules, only the first one applies.[^1]

## Rule order and "Stop processing more rules"

Outlook checks rules from top to bottom. `Stop processing more rules` ends the run at the first matching rule.[^3] Microsoft's own example shows why that matters: one rule files mail with the subject "Wedding plans", a later rule deletes everything with an attachment. Without the stop, a wedding email with an attachment gets deleted.

Put narrow rules for important mail at the top and broad ones, like "everything from this domain to Archive", further down. A rule that deletes belongs at the very end, ideally with an exception.

## Focused Inbox

Focused Inbox splits your inbox into a Focused tab and an Other tab. Microsoft says it weighs the mail and contacts you interact with and filters out automated and bulk email.[^2] In Outlook on the web and Outlook.com you turn it on under `Settings` → `Mail` → `Message list` with `Sort messages into Focused and Other`; in classic Outlook it's `View` → `Show Focused Inbox`.

If it misfiles a sender, right-click the message. In new Outlook, Outlook on the web and Outlook.com, choose `Move` and the target tab; in classic Outlook, choose `Move to Other` or `Move to Focused` directly. The matching "always move" option sends all future mail from that sender to the tab you chose.[^2] In Outlook for Windows, Focused Inbox is available only for Microsoft 365, Exchange and Outlook.com accounts. Rules and Focused Inbox work well together: Focused Inbox does the rough split, rules do the filing.

## Did it work?

Send yourself a test message that meets one of your conditions, for example one with the subject word from the rule. It should show up in the target folder, not the inbox. The rule list is under `Settings` → `Mail` → `Rules` in new Outlook, Outlook on the web and Outlook.com, and under `File` → `Manage Rules & Alerts` in classic Outlook. Then open the rule list and confirm the rule is switched on and sits in the right position. For the first few days, glance at the target folders and the Other tab once a day to catch misfires early.

## Troubleshooting

**The rule ignores older mail.** Rules act on new mail. New and classic Outlook can run them on existing messages; Outlook.com can't.[^1]

**New Outlook won't let you create a rule for your Gmail account.** New Outlook doesn't currently support rules for third-party accounts like Gmail, Yahoo and iCloud. Create the filter at that provider.[^1]

**A rule from classic Outlook does nothing in new Outlook.** It is probably a client-side rule. Recreate it in new Outlook.[^1]

**A second rule never fires.** A rule above it has `Stop processing more rules` ticked. Change the order or clear the box.[^3]

**A forwarding rule on a work account fails with `5.7.520`.** Microsoft 365 can block automatic external forwarding through organization policy, and this code points to such a block. Your IT team owns that setting, so don't try to work around it.[^6]

## When an AI agent does better

Rules break down on criteria like "anything that looks like marketing, unless it's from a client" or "all invoices into one folder, whoever sends them". An agent can read the content and group messages by what they are. There are two quite different ways to set that up.

**Claude working directly in your Microsoft 365 mailbox.** With write tools enabled, Claude's Microsoft 365 connector can organize email and manage categories, inbox rules and automatic replies. Your organization has to enable those write tools separately.[^4] Anthropic's security guide lists one tool that creates an inbox rule and one that deletes it, both using the `MailboxSettings.ReadWrite` permission.[^5] So the agent writes real Outlook rules that keep running without it. The connector needs a Microsoft 365 work account tied to an Entra tenant; personal accounts such as @outlook.com, @hotmail.com or @live.com aren't supported.[^4] Setup is covered in [Connect Outlook to Claude](https://commandmail.app/en/guides/connect-outlook-to-claude).

**Command Mail as a separate inbox.** Command Mail receives your Outlook mail as forwarded copies, alongside addresses from other providers. Changes don't sync back to Outlook.[^7] An agent such as Claude, ChatGPT or Codex sorts there over MCP. A Command Mail rule covers exactly one sender address or one sender domain, optionally narrowed by a kind of mail, subject words or a mailbox, and its action is spam, archive, a folder or trash.[^9] A rule that names no kind only matches routine mail such as newsletters, promotions and notifications. Shared provider domains like gmail.com are refused as rule targets. No rule sends mail recognized as an invoice, a deadline or a security notice to spam or trash; a rule may archive or file such mail only if it names exactly that kind and no other protection reason applies.

What sets this apart from an Outlook rule is the autonomy level per mailbox. On `suggest`, every sorting action from the agent waits for your confirmation, including hits from rules you switched on. On `rules`, switched-on rules act on new mail by themselves.[^8] A mailbox without its own setting inherits the row `Catch-all and new mailboxes`, and if that is empty too, `auto` applies. So check each mailbox's level under `Automation & rules` before the first agent run. The free plan covers reading, search and sorting for one mailbox and the last 90 days, without sending.[^8] The cautious workflow is in [Clean up your inbox with AI](https://commandmail.app/en/guides/clean-up-inbox-with-ai).

On work accounts, forwarding outside the organization may be blocked.[^6] In that case the Claude connector is usually the better fit. For a personal Outlook.com address you want alongside other addresses, Command Mail fits.

## Next steps

Start with three rules for the senders that annoy you daily, and turn on Focused Inbox. After a week you'll see what still slips through. Only then is an agent worth adding, with the narrowest permission the job needs. If you juggle several addresses, see [All your email addresses in one inbox](https://commandmail.app/en/guides/all-addresses-one-inbox).

## Sources and date

As of 2026-10-20. The Microsoft and Anthropic help pages and Command Mail's public pages were retrieved that day. Statements about Command Mail rules also rest on its app code at commit `d6ad1ce` (rule tools, rule matching, sorting). This guide does not include our own test of the Outlook menus.

## Frequently asked questions

### How do I make Outlook move emails to a folder automatically?

Create an inbox rule. Right-click a message from the sender; in new Outlook choose Rules → Create rule, in Outlook.com choose Rule → Create rule, then pick the folder and select OK. New mail from that sender goes there from then on. For more conditions, open Settings, Mail, Rules.

### Why doesn't my new rule touch the mail already in my inbox?

Rules act on incoming mail. New Outlook can run a rule on existing messages from the rules settings, and classic Outlook has Run Rules Now. Outlook.com currently can't, according to Microsoft; use Archive, Move to or Sweep for the backlog there.

### Do Outlook rules work for a Gmail account added to Outlook?

Not in new Outlook for Windows. Microsoft says new Outlook currently doesn't support rules for third-party accounts such as Gmail, Yahoo and iCloud. Set up the filter with that provider instead.

### What is the difference between rules and Focused Inbox?

A rule does exactly what you define, for example sender X to folder Y. Focused Inbox splits the inbox itself into Focused and Other and learns from how you treat mail. It does not file mail into folders, but you can pin a sender to one of the two tabs.

### Can an AI agent create Outlook rules for me?

Claude's Microsoft 365 connector can, once your organization has enabled its write tools: it has one tool that creates an inbox rule and one that deletes it. The connector does not support personal Outlook.com accounts.

## Sources

1. [Microsoft: Manage email messages by using rules in Outlook](https://support.microsoft.com/en-us/outlook/mail/manage-email-messages-by-using-rules-in-outlook), accessed 2026-10-20
2. [Microsoft: Focused Inbox for Outlook](https://support.microsoft.com/en-us/outlook/mail/focused-inbox-for-outlook), accessed 2026-10-20
3. [Microsoft: Stop processing more rules in Outlook](https://support.microsoft.com/en-us/outlook/mail/stop-processing-more-rules-in-outlook), accessed 2026-10-20
4. [Anthropic: Connect to Microsoft 365](https://support.claude.com/en/articles/15183774-connect-to-microsoft-365), accessed 2026-10-20
5. [Anthropic: Microsoft 365 connector security guide](https://support.claude.com/en/articles/12684923-microsoft-365-connector-security-guide), accessed 2026-10-20
6. [Microsoft Learn: Control external email forwarding](https://learn.microsoft.com/en-us/defender-office-365/outbound-spam-policies-external-email-forwarding), accessed 2026-10-20
7. [Command Mail: Documentation](https://commandmail.app/en/docs), accessed 2026-10-20
8. [Command Mail: plans and agent permissions](https://commandmail.app/llms.txt), accessed 2026-10-20
9. [Command Mail: organizing guide for agents](https://commandmail.app/skills/commandmail-organize/SKILL.md), accessed 2026-10-20

[^1]: [Microsoft: Manage email messages by using rules in Outlook](https://support.microsoft.com/en-us/outlook/mail/manage-email-messages-by-using-rules-in-outlook), accessed 2026-10-20
[^2]: [Microsoft: Focused Inbox for Outlook](https://support.microsoft.com/en-us/outlook/mail/focused-inbox-for-outlook), accessed 2026-10-20
[^3]: [Microsoft: Stop processing more rules in Outlook](https://support.microsoft.com/en-us/outlook/mail/stop-processing-more-rules-in-outlook), accessed 2026-10-20
[^4]: [Anthropic: Connect to Microsoft 365](https://support.claude.com/en/articles/15183774-connect-to-microsoft-365), accessed 2026-10-20
[^5]: [Anthropic: Microsoft 365 connector security guide](https://support.claude.com/en/articles/12684923-microsoft-365-connector-security-guide), accessed 2026-10-20
[^6]: [Microsoft Learn: Control external email forwarding](https://learn.microsoft.com/en-us/defender-office-365/outbound-spam-policies-external-email-forwarding), accessed 2026-10-20
[^7]: [Command Mail: Documentation](https://commandmail.app/en/docs), accessed 2026-10-20
[^8]: [Command Mail: plans and agent permissions](https://commandmail.app/llms.txt), accessed 2026-10-20
[^9]: [Command Mail: organizing guide for agents](https://commandmail.app/skills/commandmail-organize/SKILL.md), accessed 2026-10-20

---

Command Mail: one inbox for you and your AI agent. Start free: https://commandmail.app/login?signup=1 · Connect your agent: https://commandmail.app/en/agents · MCP: https://commandmail.app/mcp
