<link rel="stylesheet" href="https://www.hubspot.com/hubfs/hub_generated/template_assets/1/207928094053/1776957910476/template_footer-core-non-critical.min.css">
Logo - Full (Color)

How to Create Rules in Gmail

Learn how to create Gmail rules using the search bar and existing emails, how to set up Gmail filters on iPhone, advanced filtering strategies for inbox organization, and answers to common questions about Gmail rules vs. Outlook rules.

Woman creating rules in her Gmail account
  •  
  • Let AI summarize these Gmail hyperlink instructions in seconds. Choose your favorite AI assistant below:

Creating Rules in Gmail For Email Management in 2026

Gmail rules (officially called filters) let you automatically sort, label, forward, archive, or delete incoming emails based on criteria like sender, subject line, keywords, or attachment status. Setting up Gmail rules takes under two minutes and processes emails in the background 24/7, including on mobile, without any manual sorting required.

Once your inbox is organized, the next step is making sure the emails you send are equally professional. HubSpot's Email Signature Generator creates a clean, correctly formatted Gmail signature in minutes – with reliable HTML that renders consistently across Gmail, Outlook, and Apple Mail, without the rendering issues that can come from manually coded or AI-generated signature code.

 

How to Make Rules in Gmail: Step-by-Step Guide

Learn how to create email rules in Gmail through two methods: Google's search bar or existing emails. 

Method 1: Create Rules Using Gmail's Search Bar

Gmail's search-based rule creation offers the most flexibility for complex filtering criteria. Follow these steps to create email rules in Gmail using the search bar:

Step 1: Access Filter Creation

  • Open Gmail in your web browser
  • Locate the search box at the top of your inbox
  • Click the filter icon (slider symbol) on the right side of the search bar

How to create Gmail rules: Enter the keyword or email address you want to filter in the search bar.

Step 2: Define Your Filter Criteria
Gmail provides these powerful filtering options:

  • From: Filter emails from specific senders or domains
  • To: Target messages sent to particular addresses
  • Subject: Match specific subject line keywords
  • Has the words: Include emails containing certain terms
  • Doesn't have: Exclude emails with specific words
  • Size: Filter by message size (useful for attachment management)
  • Date within: Target emails from specific time periods
  • Has attachment: Isolate emails with files attached

How to create Gmail rules: Click on the icon at the right side of the search bar to enter specific parameters.

Step 3: Select Automatic Actions
After clicking "Create filter," choose from these automated actions:

  • Skip the Inbox (Archive immediately)
  • Mark as read
  • Star important messages
  • Apply custom labels
  • Forward to another address
  • Delete automatically
  • Never send to Spam
  • Apply canned responses
  • Mark as important/not important
  • Categorize into tabs

How to create Gmail rules: Choose from the actions to let Gmail know what to do with incoming messages.

How to Create Rules in Gmail App on iPhone

Creating a rule in Gmail on mobile requires a hybrid approach since the Gmail iOS app has limited filtering options.

Option 1: Use Safari for Full Functionality

  • Open Safari on your iPhone
  • Navigate to mail.google.com
  • Request desktop site (tap aA icon > Request Desktop Website)
  • Follow the desktop instructions above

Option 2: Basic Filtering in Gmail App

  • Open Gmail app
  • Swipe left on any email
  • Tap "More" (three dots)
  • Select "Filter messages like this"
  • The app will redirect to mobile web for completion

Option 3: Pre-Configure on Desktop
Use the process above to set up rules in Gmail on a computer – they'll sync automatically to your iPhone and process emails regardless of which device you use.

 

Advanced Gmail Rules for Emails

Use these advanced Gmail mailbox rules to achieve maximum productivity and organization within your inbox: 

Priority Inbox Configuration
Combine multiple rules to create a three-tier priority system:

  • Tier 1: Star + Important marker for CEO/client emails
  • Tier 2: Important marker only for team communications
  • Tier 3: Skip inbox for newsletters but apply "Read Later" label

Automated Project Management
Create rules that:

  • Auto-label emails by project name mentioned in subject
  • Forward project updates to relevant team members
  • Archive completed project discussions after 30 days

Time-Based Email Management

  • Schedule rules to activate during specific hours
  • Auto-respond to after-hours emails
  • Queue non-urgent emails for Monday morning review
Man creating an email signature for Gmail using HubSpot's Email Signature Generator

Complete Your Gmail Rules Setup with Professional Signatures

You've learnt Gmail rules to organize incoming emails – now make sure every email you send is equally polished. Just as filters create consistency for received messages, a professional signature ensures your outbound emails match that sophistication. HubSpot's free Email Signature Generator creates branded signatures with contact details and social links in minutes. Start creating your signature now and elevate every message you send.

Frequently Asked Questions