Gmail Filters Guide: How to Automatically Sort, Label, or Delete Emails Using Gmail Rules

Managing a crowded email inbox can be challenging, especially when important messages are buried under promotional emails, newsletters, and automated notifications. Fortunately, Gmail provides a powerful feature called filters (or rules) that helps users organise incoming messages automatically.

By creating Gmail rules, users can instruct Gmail to sort emails into folders, apply labels, archive messages, mark them as read, or even delete them automatically. This feature saves time and ensures that important emails remain visible while less important messages are handled automatically.

In this guide, we explain how to create Gmail rules using the search bar, a specific email, or your smartphone browser, so you can keep your inbox organised and efficient.

What Are Gmail Rules or Filters?

Gmail rules—commonly called filters—allow users to define conditions for incoming emails and automatically apply specific actions.

For example, you can create filters that:

  • Move emails from a specific sender to a label or folder
  • Skip the inbox for newsletters or promotional emails
  • Automatically mark certain emails as read
  • Delete spam messages from particular addresses
  • Organise work-related emails into dedicated categories

Once configured, Gmail automatically performs these actions for every matching email, keeping your inbox clean and manageable.

Method 1: Create Gmail Rules Using the Search Bar

One of the easiest ways to set up Gmail filters is through the search options menu available in the Gmail interface.

Steps to Create a Rule

  1. Open your Gmail account in a web browser.
  2. At the top of the page, click the Show search options icon (the slider icon) in the search bar.
  3. Enter the filter criteria such as:
    • Sender email address in From
    • Recipient in To
    • Keywords in Has the words
    • Subject line keywords
  4. After defining the conditions, click Create filter.
  5. Choose what Gmail should do with the emails that match your criteria. Options include:
    • Apply a label
    • Archive the email
    • Mark it as read
    • Delete it automatically
  6. Click Create filter again to activate the rule.

Once the rule is enabled, Gmail will automatically perform the selected action on all future emails that match the filter conditions.

Method 2: Create Gmail Rules from a Specific Email

You can also generate filters directly from a particular email message. This method is useful when you want to organise emails from a specific sender.

Steps to Create a Rule from an Email

  1. Log in to Gmail on your computer browser.
  2. Locate the email you want to create a rule for.
  3. Select the checkbox next to the message.
  4. Click the More options icon (three vertical dots) in the toolbar.
  5. Select Filter messages like these from the menu.
  6. Gmail will automatically fill in details based on the selected email.
  7. Modify the filter criteria if needed.
  8. Click Create filter and select the action you want Gmail to perform.

This method allows you to quickly automate email management for specific contacts or mailing lists.

Method 3: Create Gmail Rules on Your Smartphone

Although the Gmail mobile app does not offer advanced rule creation, you can still create filters using your phone’s browser.

Steps to Create Gmail Rules on Mobile

  1. Open a browser such as Chrome or Safari on your smartphone.
  2. Visit mail.google.com.
  3. Log in to your Gmail account.
  4. Enable Desktop site from the browser menu.
  5. Click the search options icon in the search bar.
  6. Enter your filter conditions.
  7. Click Create filter.
  8. Choose the action Gmail should take, such as:
    • Skip inbox (archive)
    • Apply label
    • Mark as read
    • Delete the message
  9. Confirm by clicking Create filter again.

The rule will now apply to all incoming emails that meet the specified conditions.

Can Gmail Rules Be Edited or Deleted?

Yes, Gmail allows users to manage filters easily.

To modify or remove existing rules:

  1. Open Gmail and click the Settings icon.
  2. Select See all settings.
  3. Navigate to the Filters and Blocked Addresses tab.
  4. Here you can edit, disable, or delete any existing rule.

Do Gmail Filters Work Across Devices?

Yes. Gmail filters are linked to your Google account, not a specific device. Once created, they automatically apply to incoming emails across desktop, smartphone, and tablet devices.

This means your email organisation rules will work regardless of where you access Gmail.