Gmail

search_all_mailboxes

Run one search across every reachable mailbox (optionally limited to one domain) and get results tagged by mailbox. Same filters as search_messages; at least one filter required. Searches up to 15 mailboxes per call, in address order: when more are reachable the response names the ones it skipped and gives a nextOffset to pass back as offset.

Remote faivelo/mail

Remote (network-hosted)

Other tools also called search_all_mailboxes? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "description": "Free-text query (searches headers and body)"
    },
    "from": {
      "type": "string",
      "description": "Match sender"
    },
    "domain": {
      "type": "string",
      "description": "Only search mailboxes on this domain"
    },
    "folder": {
      "type": "string",
      "description": "IMAP folder to search in each mailbox (default \"INBOX\")"
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "description": "Skip this many mailboxes (use nextOffset from the previous call)"
    },
    "subject": {
      "type": "string",
      "description": "Match subject"
    },
    "dateAfter": {
      "type": "string",
      "description": "Only messages after this date (ISO 8601)"
    },
    "dateBefore": {
      "type": "string",
      "description": "Only messages before this date (ISO 8601)"
    }
  }
}
          

Provider

Gmail →