d73ff9b0fb
Deploy Site / deploy-vercel (push) Has been cancelled
Deploy Site / deploy-docs (push) Has been cancelled
Docker / shell lint / Lint Dockerfile (hadolint) (push) Has been cancelled
Docker / shell lint / Lint docker/ shell scripts (shellcheck) (push) Has been cancelled
Docker Build and Publish / build-amd64 (push) Has been cancelled
Docker Build and Publish / build-arm64 (push) Has been cancelled
Lint (ruff + ty) / ruff + ty diff (push) Has been cancelled
Lint (ruff + ty) / ruff enforcement (blocking) (push) Has been cancelled
Lint (ruff + ty) / Windows footguns (blocking) (push) Has been cancelled
Nix Lockfile Fix / auto-fix-main (push) Has been cancelled
Nix Lockfile Fix / fix (push) Has been cancelled
Nix / nix (macos-latest) (push) Has been cancelled
Nix / nix (ubuntu-latest) (push) Has been cancelled
OSV-Scanner / Scan lockfiles (push) Has been cancelled
Build Skills Index / build-index (push) Has been cancelled
Tests / test (1) (push) Has been cancelled
Tests / test (2) (push) Has been cancelled
Tests / test (3) (push) Has been cancelled
Tests / test (4) (push) Has been cancelled
Tests / test (5) (push) Has been cancelled
Tests / test (6) (push) Has been cancelled
Tests / e2e (push) Has been cancelled
uv.lock check / uv lock --check (push) Has been cancelled
Docker Build and Publish / merge (push) Has been cancelled
Build Skills Index / trigger-deploy (push) Has been cancelled
Tests / save-durations (push) Has been cancelled
2.1 KiB
2.1 KiB
Gmail Search Syntax
Standard Gmail search operators work in the query argument.
Common Operators
| Operator | Example | Description |
|---|---|---|
is:unread |
is:unread |
Unread messages |
is:starred |
is:starred |
Starred messages |
is:important |
is:important |
Important messages |
in:inbox |
in:inbox |
Inbox only |
in:sent |
in:sent |
Sent folder |
in:drafts |
in:drafts |
Drafts |
in:trash |
in:trash |
Trash |
in:anywhere |
in:anywhere |
All mail including spam/trash |
from: |
from:alice@example.com |
Sender |
to: |
to:bob@example.com |
Recipient |
cc: |
cc:team@example.com |
CC recipient |
subject: |
subject:invoice |
Subject contains |
label: |
label:work |
Has label |
has:attachment |
has:attachment |
Has attachments |
filename: |
filename:pdf |
Attachment filename/type |
larger: |
larger:5M |
Larger than size |
smaller: |
smaller:1M |
Smaller than size |
Date Operators
| Operator | Example | Description |
|---|---|---|
newer_than: |
newer_than:7d |
Within last N days (d), months (m), years (y) |
older_than: |
older_than:30d |
Older than N days/months/years |
after: |
after:2026/02/01 |
After date (YYYY/MM/DD) |
before: |
before:2026/03/01 |
Before date |
Combining
| Syntax | Example | Description |
|---|---|---|
| space | from:alice subject:meeting |
AND (implicit) |
OR |
from:alice OR from:bob |
OR |
- |
-from:noreply@ |
NOT (exclude) |
() |
(from:alice OR from:bob) subject:meeting |
Grouping |
"" |
"exact phrase" |
Exact phrase match |
Common Patterns
# Unread emails from the last day
is:unread newer_than:1d
# Emails with PDF attachments from a specific sender
from:accounting@company.com has:attachment filename:pdf
# Important unread emails (not promotions/social)
is:unread -category:promotions -category:social
# Emails in a thread about a topic
subject:"Q4 budget" newer_than:30d
# Large attachments to clean up
has:attachment larger:10M older_than:90d