The email types
Each message is classified into exactly one of ten types; the orthogonaltodo flag comes on top (next section). All eleven values are accepted by the search_emails keywords filter:
The type is stored on the message as a mailbox keyword (
$type:receipt and so on) and appears on the tags: line of tool results. Because each message carries exactly one, the filter means what it says: receipt returns receipts, not orders.
Your sub-agents group mail more coarsely than the type taxonomy — Orders & Expenses covers both
receipt
and order, Notifications covers notification, security_alert, and terms — and it is those grouping labels
that show as chips in webmail. Search filters on the exact type instead, so a ticket or scheduling message is
findable through an agent even though no sub-agent claims it.To-do detection
Orthogonally to its type, each message is checked for whether it needs explicit action from you — a deadline, a payment, a form, a confirmation. Those messages get thetodo keyword on top of their type, which makes “what needs my attention?” a one-call query for an agent:
Tool call — search_emails
Summaries and the Morning Brief
Each processed message also gets a short generated summary. Once a day, the Morning Brief email delivers your open to-dos and the sub-agent groups you opted into — in the language you choose — so the default way to consume a busy inbox is one email, not fifty. You configure the brief (groups, language) in the Langmail app. If you choose the clean-inbox style, handled messages are auto-archived after classification, keeping the inbox itself down to what matters.Connected Gmail accounts
You can connect one or more Gmail accounts to the same Langmail user. Their mail is synced in — live updates plus historical backfill — and processed by the same pipeline. State flows back too: a to-do appears in Gmail as aTodo label, and archiving in Langmail archives in Gmail, whether the change came from an agent, MCP, or webmail. Mirroring is on by default and can be disabled per account.
Agents see one unified mailbox: synced Gmail messages and native
@langmail.me mail are searched by the same tools with the same filters.