How to create rules in Gmail

Gmail calls rules filters: open search options in the Gmail search bar, enter what to match, click Create filter, pick an action such as label, archive, star or forward, and click Create filter again. For rules that run across Gmail, Outlook, Zoho Mail and IMAP, use Replyless Automations.

A filter acts on new mail that matches a search: it can apply a label, archive, delete, star or forward it. You can also start one from an email: tick it, click More, then Filter messages like these.

In Gmail, rules are called filters

  • Gmail filters, step by step
  • Rules for every mailbox
  • Up to 20 conditions per rule

Replyless at a glance

4 providers Gmail, Outlook, Zoho Mail and any IMAP account
Connect several mailboxes side by side.
5,000 emails Free Cleaner allowance per mailbox
Then a one-time $19 unlock, or included with any paid plan.
7 days Free trial
Full Basics access, no card required.

Key takeaways

1. Open search options

Open Gmail on your computer and click Show search options at the right of the search bar.

2. Enter what to match

Fill in the sender, recipient, subject, words or other criteria. Click Search to preview which emails match.

3. Create filter

Click Create filter at the bottom of the search window, choose what should happen to matching mail, and click Create filter.

Do it for every mailbox with Replyless Automations

  1. Trigger: new or sent email

    Start a rule with An email arrives or I send an email. Sent rules fire for mail you send from Replyless or any other app.

  2. Conditions

    Match on From, Sender domain, To or Cc, Subject, Body or Category, or on facts like has an attachment, newsletter, important or unread. Use up to 20 conditions and match all or any.

  3. Actions

    Archive, label, mark read, star, mark done, move to a tab, move to trash, snooze, remind you, alert you by push, Telegram, Slack or Teams, auto-reply or forward. Chain up to 20 steps.

  4. Requirements

    Any connected Gmail, Outlook, Zoho Mail or IMAP mailbox, on any plan or the 7-day free trial. Each rule runs up to 500 actions per 24 hours. Build rules in the web app or the Mac app.

Keywords and search themes

  • gmail rules
  • gmail filters
  • gmail automation

Frequently asked questions

Does Gmail have rules?
Yes. Gmail calls them filters. Create one from the search bar's search options, or from an email with More, then Filter messages like these.
Does a Gmail filter work on email I already have?
A filter acts on new mail, and a forwarding filter forwards only new messages. A Replyless rule can also run once over your last 30 days of mail, up to 500 emails.
Can a rule act on email I send?
Yes, with Replyless. Pick I send an email as the trigger, for example to label or remind you about mail you sent from any app.
How many actions can a Replyless rule take?
Up to 20 steps per rule. Each rule runs up to 500 actions and sends up to 50 emails per 24 hours, then pauses and emails you.
Where do I build Replyless rules?
Only in the web app or the Mac app. Rules run on our servers, so they keep working when the app is closed.

Related pages