Search a mailbox
search_conversationsFinds the threads of one mailbox by their subject, their text, the people on them or the names of the files they carried, best answer first. Call list_sender_addresses to find the box. This is how you look a mail up when you know a word of it and not where it is.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | What is being looked for. Plain words are all required, "a phrase in quotes" is looked for as written, "or" offers an alternative and a leading "-" excludes a word. | |
| box | Yes | The address of the mailbox to look in, for example "simon@sonentreprise.com": call list_sender_addresses to find it. A support queue is not a mailbox and has no folders. | |
| limit | No | How many threads to bring back, 1 to 200. Defaults to 100. | |
| folder | No | Narrows to one folder of the box: one of inbox, sent, drafts, spam, trash, archive, or the id of a folder a person made (list_folders gives them). Left out, the whole box is searched, which is usually what is wanted: a mail is looked for precisely because nobody remembers where it was filed. |