Skip to content

All search operators

Search operators are tokens in the search field following the pattern operator:value. They combine freely with search text and with each other; values containing spaces go in quotation marks:

from:"Anna Schmidt" is:unread in:INBOX contract

Upper and lower case make no difference, neither in operators nor in values. Accents in values do count, unlike in the free search text: from:Muller does not find Müller.

Pointing at the ? in the search field shows a short overview of the operators.

Operator Finds
from: mail from this address or name
to: mail to this address or name, Cc and Bcc included
cc: mail with this address or name in copy (Cc)

A part is enough: from:@supplier.example finds every sender at that domain.

A whole address counts exactly: from:anna@firma.example finds only Anna, not johanna@firma.example. All emails from … on a sender’s contact card starts the same search.

Operator Finds
subject: mail whose subject contains this text
scope:subject restricts the free search text to the subject
"…" the exact phrase instead of separate words
Operator Finds
after:2026-01-01 mail from this day on
before:2026-06-30 mail up to this day

Both together bracket a range, with the first and the last day included. Instead of 2026-01-01 you can also write 1.1.2026 (day.month.year) or 2026/01/01.

Operator Finds
has:attachment mail with any attachment
has:pdf mail with a PDF attachment
has:image mail with an image attachment (embedded images such as a logo in the signature do not count)
Operator Finds
is:unread unread
is:read read
is:flagged flagged, in any color
is:pinned pinned (pinning is part of Pro)
is:snoozed snoozed
Operator Finds
tag:Project mail with this tag
label:Project the same, under the name Gmail uses
has:note mail with a note

The tag name counts as a whole, regardless of case, for accented letters too (Ä as ä). A search takes one tag: with several, YouniqMail reports it and searches for the last one.

Operator Finds
larger:5mb mail larger than this
smaller:500kb mail smaller than this

The size needs a unit: kb, mb or gb (also k, m, g), with a decimal point or comma as in 1.5mb. A kilobyte counts 1024 bytes. Without a unit, as in larger:5, YouniqMail reports it and searches without the size. The size is the whole mail, attachments included.

Operator Finds
in:Invoices mail in the folder with this name or path, in all accounts
account:Work mail of the account with this name or email address

The standard folders have fixed names that work regardless of what your provider calls the folder: in:inbox, in:sent, in:drafts, in:trash, in:archive and in:spam (or in:junk). So in:trash finds the trash of every account, even where it is called “Deleted Items”.

Names count as a whole: account:Work finds the account “Work” but not “Work Gmail”; for that one, write account:"Work Gmail". Both the name in the sidebar and the sender name count as the account’s name.

Folders you have excluded from search under Settings → Mails → Search stay out even with in:.

A minus at the start of a word leaves out what follows. It works with every operator and with search text:

Input Leaves out
-from:newsletter@shop.example mail from this sender
-is:read read mail
-tag:Private mail with this tag
-in:spam mail in the spam folder
-newsletter mail with a word that starts like this, in names and addresses too
-"Anna Schmidt" mail with exactly this phrase
quote -from:@ads.example -has:attachment

Quotes without the advertising senders and without attachments.

The minus goes right before the word. In e-mail or discount -20% it stays an ordinary character, and before a number it never excludes. An excluded word also leaves out mail where it appears only in the quoted history of a reply.

Several exclusions can stand together, even of the same operator, as in -tag:Private -tag:Old. The search field marks them in red; the filter menu does not show them. Excluded words, -in: and -account: keep the ordering by best match, with the other exclusions the newest mails come first. Only scope:subject cannot be excluded.

All operators combine as AND: each additional one narrows the result. There is no OR and there are no brackets; OR is searched as an ordinary word. To find mail from one sender or the other, search twice or use a smart folder in ANY mode.

Each operator counts once: a second from: replaces the first without a message; only for tag: does YouniqMail report it (see above). from:me and to:me have no special meaning, they search for “me” in names and addresses. Write out your address instead.

A few combinations from practice:

from:@supplier.example has:pdf after:2026-01-01

All the supplier’s invoice PDFs from this year.

is:unread has:attachment before:2026-07-01

Unread backlog with attachments, cleanup candidates.

to:support@ is:unread account:Company

Unread mail to the support address in the company account.

in:trash quote

The quote you deleted by mistake, in the trash of every account.

has:attachment larger:10mb before:2025-01-01

Large old attachments, the first candidates when the mailbox fills up.

Operators that check the mails themselves change the order of the results: with them, the newest mails come first. in:, account: and scope:subject keep the ordering by best match.

An unknown value such as is:important is not skipped silently: YouniqMail reports it and searches without it.

If you come from Gmail, Outlook or another mail program, you may still type its operators. YouniqMail recognizes the common ones, takes them out of the search and names the operator that does the same here, for older_than:7d right away with the matching date.

Other program YouniqMail
older_than:7d, older: before: with a date
newer_than:7d, newer: after: with a date
received:, sent:, date: after: and before:
size:, messagesize:, minsize:, maxsize: larger: or smaller:
filename:, attachment:, attachments: has:pdf, has:image or the value as search text
hasattachment:, hasattachments: has:attachment
isread:, read: is:read or is:unread
isflagged:, hasflag:, followupflag: is:flagged
category:, categories:, keyword:, keywords: tag:
bcc:, deliveredto:, recipient:, recipients: to:
participants: from: or to:
folder:, mailbox: in:
memo: has:note
body: the value as search text

For body: and a file name after filename:, YouniqMail searches for the value as search text right away, so body:offer becomes offer.

There is no counterpart for importance:, priority:, list:, rfc822msgid:, msgid: and kind:, nor for Gmail’s categories such as category:social or for a negation as in hasattachment:no or isflagged:false. YouniqMail reports them as well instead of quietly finding nothing. To leave mail out, use the minus instead, as in -has:attachment.

The minus Gmail uses to leave mail out works the same way here (see above).