Accounts and Passwords

Gmail Filters: Sort, Label and Archive Mail Automatically

Create a filter from a search or a message, edit or delete it, and export or import your filters. Based on Gmail Help.

Autobaselli · 1 min read
Gmail Filters: Sort, Label and Archive Mail Automatically

A Gmail filter acts on incoming mail for you: it can label it, archive it, delete it, star it or forward it. This guide follows Gmail Help (computer version).

Three boxes: set criteria, choose action, manage filters.
Gmail filters in three steps.

Create a filter

  1. Open Gmail and click Show search options in the search box at the top.
  2. Enter your search criteria. Click Search first to check the right emails show up.
  3. At the bottom of the search window, click Create filter.
  4. Choose what the filter should do.
  5. Click Create filter.

Google warns that a filter that forwards messages only affects new messages, and a reply to a filtered message is only filtered if it also matches your criteria.

Start from one message

  1. Tick the checkbox next to an email.
  2. Click More, then Filter messages like these.
  3. Check the criteria and click Create filter.

Edit or delete a filter

  1. Click Settings, then See all settings.
  2. Open Filters and Blocked Addresses.
  3. Find the filter and click Edit or Delete. When editing, click Continue, then Update filter.

Export or import filters

On the same Filters and Blocked Addresses tab, you can tick filters and export them, or click Import filters, choose the file, click Open file, then Create filters. Google says this is how to restore a backup of your filters.

Worked example

A shop sends a receipt from the same address every time. Open one receipt, choose Filter messages like these, and have the filter apply a label called Receipts and skip the inbox. Test the criteria with Search first so you do not hide something you need. Filters do not replace caution with strange mail, so read avoid and report phishing emails in Gmail.

Sources