Gmail existing-mail cleanup

How to apply Gmail filters to existing emails.

When you create or edit a filter, tick Also apply filter to matching conversations before you select Create filter or Update filter. Gmail then applies the actions, such as a label, archive, or delete, to emails you already have that match. Forwarding still only applies to new mail.

Existing Gmail messagesMatching conversationsLabels and archiveEdit an existing filter

Last updated

KeepKnown helping clean Gmail outsider mail after filter setup

Gmail filters normally act on new mail as it arrives. The checkbox Also apply filter to matching conversations extends a filter to the messages already in your account, and it appears both when you create a filter and when you edit one. Google covers the option in its Gmail filters help.

Existing-mail cleanup works best for organizing actions: labels, archive, stars, categories, read state, and importance. Forwarding only applies to new messages, and deleting old mail in bulk is hard to undo, so run the search first and check what it matches.

Short answer

Tick Also apply filter to matching conversations.

Search for the messages, select Create filter, choose the actions, tick Also apply filter to matching conversations, and select Create filter. For a filter you already have, edit it and tick the same box before Update filter.

The filter Gmail can't build

Want Gmail to only show mail from people you know?

Gmail filters can't test whether a sender is in your contacts. KeepKnown adds that rule: contacts and approved domains stay in the inbox, and everyone else moves to KK:OUTSIDERS. Nothing is deleted.

The audit is free and changes nothing in your inbox.

Apply a new Gmail filter to old emails

  1. Open Gmail on a computer and select Show search options in the search bar.
  2. Enter the criteria and select Search to check the matching messages.
  3. Select Create filter and choose actions such as Apply the label or Skip the Inbox.
  4. Tick Also apply filter to matching conversations.
  5. Select Create filter. Gmail applies the actions to the existing matches.

Apply an existing Gmail filter to old emails

  1. Open Settings (the gear icon) and select See all settings.
  2. Open the Filters and Blocked Addresses tab.
  3. Select edit next to the filter, then select Continue.
  4. Tick Also apply filter to matching conversations.
  5. Select Update filter.

Good existing-mail cleanup searches

from:newsletter@example.com

Label or archive old newsletter mail from one sender.

subject:"receipt" newer_than:1y

Collect the last year of receipts under one label.

from:vendor@example.com has:attachment

Find vendor messages with files attached.

category:promotions older_than:30d

Archive promotional mail older than a month.

Which actions work on old mail

Label, archive, star

Organizing actions apply cleanly to matching conversations you already have.

Mark read, important, or categorize

Change read state, importance markers, or the inbox tab for historical matches.

Forward is new mail only

Forwarding applies to messages that arrive after the filter is created, not to old mail.

Future mail

Existing filters clean history. KeepKnown prevents new outsider backlog.

Matching conversations cleans up mail you can already name. Strangers keep arriving from new addresses, so KeepKnown checks each sender against your contacts and moves unknown senders to KK:OUTSIDERS.

Questions before you connect.

Can Gmail filters apply to emails I already received?

Yes. Tick Also apply filter to matching conversations when you create or edit the filter, and Gmail applies the selected actions to existing messages that match.

How do I apply an existing Gmail filter to old emails?

Open Settings, See all settings, Filters and Blocked Addresses, select edit next to the filter, select Continue, tick Also apply filter to matching conversations, then select Update filter.

Do Gmail filters always affect old messages?

No. Filters act on new messages unless you choose the matching-conversations option. Forwarding only ever applies to new mail.

What actions are safest for existing Gmail messages?

Labels, archive, stars, categories, read state, and importance markers are safer cleanup actions than deleting. Always test the search first.

Can I apply a Gmail filter to every sender not in contacts?

Not natively. Gmail filters need explicit criteria. KeepKnown adds contact-based screening for senders who are not in your contacts.

Gmail filter cleanup

Clean up old mail, then keep new outsiders out of the inbox.