Search mail
mail_searchSearch the user's mail. Combine full_text with any filters below.
Instructions
Search the user's mail. Combine full_text with any filters below.
full_text uses Thunderbird's global index and searches headers and bodies
of already-indexed messages; subject/author/body are substring matches
evaluated per folder. Dates are ISO-8601. Results are summaries — call
mail_get for a body. Continue with cursor=nextCursor. A first page
carries scope — the folder and account ids the query covered — so an empty
result can be read against what was actually searched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| junk | No | ||
| tags | No | ||
| limit | No | ||
| to_me | No | ||
| author | No | ||
| cursor | No | ||
| unread | No | ||
| flagged | No | ||
| from_me | No | ||
| subject | No | ||
| to_date | No | ||
| max_size | No | ||
| min_size | No | ||
| tag_mode | No | any | |
| folder_id | No | ||
| from_date | No | ||
| full_text | No | ||
| account_id | No | ||
| recipients | No | ||
| has_attachment | No | ||
| include_subfolders | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||