get_email.
Parameters
Free-text full-text search over subject and body. 1–500 characters.
Only messages received on or after this UTC ISO 8601 timestamp, e.g.
2026-04-01T00:00:00Z.Only messages received strictly before this UTC ISO 8601 timestamp, e.g.
2026-07-01T00:00:00Z.Substring match on the sender’s name or address. 1–200 characters.
Category labels to filter by; multiple values combine with OR. At least one value when present. Valid values:
| Value | Meaning |
|---|---|
direct | Personal emails from individuals and direct conversations |
receipt | Order confirmations, shipping updates, delivery notifications, purchase receipts |
newsletter | Regular updates, news digests, curated content |
notification | Security alerts, terms updates, service notifications |
promotional | Marketing emails, sales pitches, discount offers |
todo | Messages flagged as an action item — see Email intelligence |
Restrict to a named mailbox/folder, e.g.
Inbox.Maximum results, 1–100.
Example
Call
Result
tags: line. An empty result returns No messages matched.
Errors
Provide at least one filter: query, after, before, from, keywords, or mailbox.— the call had no filter.Mailbox not found: <name>— themailboxvalue didn’t match a folder.