Thunderbird Search Emails
thunderbird_search_emailsSearches one Thunderbird account's messages for query in subject, sender, recipients and body text, ignoring case and accents, newest first within each folder. folder narrows it to one folder; since and until to a period. The messages are read from the mail files, so a large mailbox is searched up to a bound: complete says whether everything was searched and folders_not_searched names what was not. A message larger than 4 MB is matched on its headers only. Only messages stored on this computer are seen: for an IMAP account that is what Thunderbird has downloaded, not everything on the server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Messages per page (default 20, max 100). | |
| query | Yes | Text to look for. | |
| since | No | Only messages dated on or after this day or instant (2026-01-31 or 2026-01-31T10:00:00Z). | |
| until | No | Only messages dated on or before this day or instant. | |
| folder | No | Folder path. Optional: every folder of the account, INBOX first. | |
| offset | No | Matches to skip (default 0). | |
| account | No | Account id, name or address from thunderbird_list_accounts. Optional when the profile has one mail account. | |
| profile | No | Thunderbird profile name. Optional: the default profile is used. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| emails | Yes | ||
| account | Yes | ||
| complete | Yes | ||
| has_more | Yes | ||
| messages_searched | No | ||
| folders_not_searched | No |