email: Gmail-style search operators (from:/to:/subject:/body:/has:/is:/label:/before:/after:)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-23 18:23:53 +00:00
co-authored by Claude Opus 4.8
parent 066531555b
commit 1791e2e6a1
2 changed files with 90 additions and 20 deletions
@@ -274,7 +274,7 @@ export const EmailList = () => {
<input
value={search}
onChange={(ev) => setSearch(ev.target.value)}
placeholder="Search mail…"
placeholder="Search — try from:, subject:, has:attachment…"
className="flex-1 bg-transparent text-sm outline-none placeholder:opacity-40"
/>
{isSearching && <span className="text-xs opacity-50 shrink-0">{total} result{total === 1 ? '' : 's'}</span>}