Cleanfox

Clean an Outlook, Hotmail or Yahoo inbox by hand

Outlook.com and Yahoo Mail can bulk-clean too — with different search rules. Here are queries and steps that work today.

Updated 12 Nov 2026 Last verified 12 November 2026
Outlook and Yahoo Mail logos side by side with the question Yahoo Mail or Outlook.
Key takeaways
  • Outlook.com and the new Outlook use Advanced Query Search keywords such as from:, received: and hasattachments:.
  • Size search is not supported in the new Outlook; sort by size instead.
  • Yahoo Mail documents keyword search plus an Advanced Search panel rather than typed operators.
  • Sweep (Outlook) and Block senders (Yahoo) help keep the inbox clean afterwards.

Two providers, two search styles

Gmail users often expect the same search tricks everywhere. Outlook and Yahoo work differently, so a query copied from a Gmail guide may quietly return nothing. This guide uses only what each provider documents.

FeatureOutlook.com / new OutlookYahoo Mail
Typed search keywordsYes (Advanced Query Search)Basic keywords
Filter panelYesAdvanced Search panel
Search by sizeNot in new OutlookNo
Bulk toolSweepSelect all + Block senders

Part 1: Outlook.com, Hotmail and the new Outlook

Search keywords that work

KeywordWhat it doesExample
from:Mail from a senderfrom:news@shop.example
subject:Words in the subjectsubject:sale
received:Mail received on or before/after a datereceived:<01/01/2025
hasattachments:Mail with attachmentshasattachments:yes
read:Read or unread mailread:no
hasflag:Flagged mailhasflag:true
NOT, AND, ORCombine conditions (uppercase)NOT hasflag:true

Dates use month/day/year order.

Ready-made Outlook queries

Newsletters older than about a year (change the date to suit you):

unsubscribe received:<11/12/2025 NOT hasflag:true

Unread newsletters:

unsubscribe read:no

Everything from one sender with attachments:

from:reports@service.example hasattachments:yes

Select and remove in Outlook

  1. Run the search.
  2. Click the first result, then press Ctrl+A (Cmd+A on Mac).
  3. Choose Archive or Delete.
  4. Outlook loads results in batches; scroll and repeat until none remain.

Use Sweep for noisy senders

Sweep is Outlook's bulk tool for a single sender.

  1. Select a message from the sender.
  2. Choose Sweep from the toolbar.
  3. Pick an option: move all messages from this sender, keep only the latest, or delete messages older than ten days.
  4. Optionally tick the box to apply the same action to future messages.

Microsoft notes that size search is not supported in the new Outlook. Instead, use the sort or filter options in the message list to sort by size, or search hasattachments:yes and sort the results.

Part 2: Yahoo Mail

What Yahoo's search can do

Yahoo's help pages describe keyword search plus an Advanced Search panel. Typed operators are not documented, so stick to plain keywords and the panel options.

Find newsletters

  1. Type unsubscribe in the search bar and press Enter.
  2. Open Advanced Search (the icon at the right of the search bar).
  3. Set a date range, choose a folder, or tick the attachment option.
  4. Run the search.

Find everything from one sender

Type the sender's address in the search bar, or hover over a message and use the search-by-sender icon.

Select and remove in Yahoo

  1. Tick the select-all checkbox above the results.
  2. Choose Archive or Delete.
  3. Repeat if more results load.

Block senders that ignore unsubscribes

  1. Open a message from the sender.
  2. Choose More (three dots), then Block senders.
  3. Optionally delete existing messages from that sender when prompted.

Part 3: Keep it clean afterwards

Outlook rules

  1. Right-click a message and choose Rules → Create rule.
  2. Choose a condition, such as the sender.
  3. Choose an action, such as moving to a folder or deleting.

Yahoo filters

  1. Open Settings → More Settings → Filters.
  2. Add a filter, set the sender or subject condition and choose a destination folder.

Unsubscribe properly

Both providers show an Unsubscribe option for many newsletters. Use it for lists you joined; it stops mail at the source rather than hiding it.

Before you delete

Bulk searches catch receipts, warranties and travel bookings too. Sort results by sender and skim before you press Delete. Outlook's Deleted Items and Yahoo's Trash keep messages for a limited time.

A 15-minute plan for each provider

StepOutlookYahoo
1Search unsubscribe received:<date and archiveSearch unsubscribe + date range and archive
2Sweep the five noisiest sendersBlock the five noisiest senders
3Sort by size, delete large old mailSearch attachments in Advanced Search
4Create rules for repeat offendersCreate filters for repeat offenders

Outlook features that make cleaning easier

Focused Inbox

Focused Inbox splits mail into Focused and Other. Newsletters and promotions usually land in Other. Cleaning Other first is a quick win: open it, select everything older than a few months and archive.

Categories

Outlook categories are coloured tags. Assign a “Newsletters” category to senders you want to keep reading, then use a search or rule to find everything else.

Sort by sender

In the message list, sort by From. Senders with dozens of messages stand out, and you can select a whole block with Shift-click.

Archive folder

Archiving moves messages out of the inbox without deleting them. It is a good first step when you are not sure what to keep.

Yahoo features that help

Views for photos and documents

Yahoo Mail offers views that show only photos or only documents. They are a quick way to find large attachments.

Disposable addresses

Some Yahoo plans offer extra addresses you can give to shops and sign-ups. When one starts attracting spam, delete it without touching your main inbox.

Unsubscribe button

Many newsletters show an Unsubscribe option near the sender's name. Use it for lists you joined; it stops mail at the source.

Storage limits and why cleaning helps

Free Outlook.com and Yahoo Mail accounts include a fixed amount of storage. When you get close to the limit, new messages may bounce. Deleting large old attachments and years of newsletters is the fastest way back under the limit.

Find what uses the most space in Outlook

  1. Open Settings and look for the storage page.
  2. Review which folders use the most space.
  3. Empty Deleted Items and Junk Email.

Find what uses the most space in Yahoo

  1. Open Advanced Search and tick the attachment option.
  2. Sort results by date and delete old messages with large attachments.
  3. Empty Trash and Spam.

Habits that keep the inbox clean

  • Unsubscribe from one or two lists every week.
  • Use rules or filters for senders you want to keep but read later.
  • Give shops a secondary address.
  • Empty Junk and Trash once a month.
  • Check connected apps in your account security settings now and then.

Common mistakes to avoid

  • Using Gmail operators such as older_than: in Outlook.
  • Typing dates in day/month order in Outlook.
  • Deleting from Junk without checking for false positives.
  • Creating a rule that deletes mail from a sender you might need later.
  • Forgetting that Sweep can apply to future messages too.

When to consider a tool

If you have tens of thousands of messages across several accounts, a dedicated tool may save time. Weigh the convenience against the access it needs, and revoke that access when you are done. For a single account, the steps in this guide are usually enough.

Worked example: a ten-year-old Hotmail inbox

Imagine an inbox with 40,000 messages, most of them from shops and social networks.

  1. Focused Inbox → Other: select everything older than a year and archive. About 25,000 messages leave the inbox in two minutes.
  2. Sort by From: the top five senders account for 6,000 messages. Use Sweep on each to delete existing mail and block future messages.
  3. Search hasattachments:yes and sort by size: delete old messages with large attachments to free storage.
  4. Unsubscribe: open one recent message from each remaining newsletter and use the Unsubscribe banner.
  5. Rules: create rules for two senders you want to keep but read weekly, moving them to a “Reading” folder.

The inbox goes from 40,000 messages to a few hundred, with nothing important lost because archived mail is still searchable.

Worked example: a busy Yahoo inbox

  1. Search unsubscribe with a date range ending a year ago and delete the results in batches.
  2. Use the documents view to find large attachments and delete old ones.
  3. Block the three senders that ignore unsubscribe requests.
  4. Set up a filter that moves newsletters you like into a separate folder.

Accessibility tips

  • Both Outlook.com and Yahoo Mail support keyboard shortcuts; turn them on in settings to select and archive faster.
  • Increase the reading pane's text size if long result lists are tiring to scan.
  • Use the conversation view so threads count as one item, reducing the number of rows to review.

Frequently asked questions

Why does my Gmail-style query return nothing in Outlook?

Outlook uses different keywords. older_than: and larger: are Gmail operators; use received: with a date in Outlook.

Does Hotmail use the same search as Outlook.com?

Yes. Hotmail and Live addresses use Outlook.com.

Can I search Yahoo by size?

Not with a documented operator. Use the attachment option in Advanced Search and review results manually.

How long do deleted messages stay?

It depends on the provider and your settings. Empty the folder yourself if you need the space immediately.

cleanfox.org is independent and not affiliated with Foxintelligence, NielsenIQ or any mail provider.