Rules for incoming mail
Automatically file, label, flag, or mark incoming mail as read the moment it arrives.
On this page
Rules handle repetitive inbox sorting for you: file mail from a specific sender into a folder, or label and mark a subject as read automatically. Rules run on every incoming message in the order they're listed.
Make a rule#
- 1
Open Settings, Rules
Click Settings at the bottom of the sidebar, go to Rules, and click New rule.
- 2
Name it
Only you see the name. Pick something clear so you can tell rules apart.
- 3
Choose what to match
Select When all of these match or When any of these match, then click Add condition. Match on From, Sent to, Subject, Message, Has attachments, Kind of mail (newsletter, receipt, or update), or Sender is in my contacts.
- 4
Choose what to do
Click Add action: Move to folder, Archive, Move to Trash, Add label, Flag in a colour, Mark as read, Put in bundle, or Skip the Screener. A rule can move mail to one place at most, and add multiple labels.
- 5
Decide whether to stop
Keep Then stop ticked to prevent lower rules from running on the same message, or untick it to let other rules stack on top.
- 6
Click Save
The rule applies to all new mail from now on. To apply it to older mail, see below.
Shortcut: right-click any thread (or open More actions) and pick Make a rule from this. Nemi opens Settings, Rules with From is already filled in for that sender.
How conditions match#
| Condition | Matches |
|---|---|
| From is | One address like anna@studio.nl, or an entire domain like @studio.nl (including subdomains like mail.studio.nl). |
| From contains | Text anywhere in the sender's name or email address. |
| Sent to | Mail delivered to one of your addresses, aliases, or linked accounts. |
| Subject contains, Subject is | Words in the subject line, or the exact full subject. |
| Message contains | Words inside the body of the message. |
| Kind of mail | Newsletters, receipts, or updates recognised by Nemi, even if bundles are turned off. |
Capitalisation and extra spaces are ignored. Rules act on the whole conversation a message belongs to, just like archiving it yourself.
Order, pausing, and editing#
- Rules run top to bottom. Drag a rule by its handle to reorder it (or focus the handle and use up/down arrow keys). Move up and Move down are also in the rule's options menu.
- If two rules both move the same message, the higher one wins. The same goes for flag colour and bundle; labels combine.
- Use the toggle beside a rule to pause it without deleting it, or click Edit to update it.
- Each rule shows how many times it has matched and when it last ran.
- You can create up to 100 rules, with up to 10 conditions and 8 actions per rule.
- If you delete a folder or label used by a rule, the rest of the rule keeps working and flags the missing target.
Run on existing mail#
Open a rule's options menu and click Run on existing mail to apply it to the newest 5,000 conversations in your Inbox and Archive. Nemi reports how many threads changed. Snoozed conversations are skipped, and Message contains checks the opening lines of existing messages rather than the full body.
What rules never do#
- Rules never touch mail in Spam.
- New senders stay in the Screener unless a matching rule explicitly includes Skip the Screener. That lets the single verified message through without permanently allowing the sender.
- Conversations in Trash or Snoozed are never moved by rules.
- There's no auto-forward action. Automatic forwarding is a common attack vector if an account is compromised, so Nemi Mail doesn't offer it. To read another account's mail here, link it instead.
Linked accounts#
Rules also run on new mail arriving in linked Gmail, Outlook, and IMAP accounts after their initial import finishes. Filing into a Nemi folder archives the thread in the linked account, and flags appear there as stars or flags without colour. Initial imported mail isn't touched automatically; use Run on existing mail if you want to sort it.
Related
Still stuck? Email support@nemilab.com and tell us what you were trying to do.