Commune icon

Commune

Send and receive emails, manage inboxes, and search conversations with Commune

Actions14

Search → Search Threads

AI-generated

Summary

Search email threads using semantic or keyword queries, optionally filtered by a specific inbox.

Inputs

  • query (required) — The search query text for semantic or keyword search.
  • inboxId — The ID of an inbox to restrict search results to.
  • limit — Maximum number of search results to return (1 to 100, default is 10).

Output shape

a list of items

Unwraps the array of matching thread objects from the API response's data property if present.

Examples

Example 1: Search for refund-related threads across all inboxes

Query: "angry customer about refund", Limit: 10

Example 2: Search for shipping issues within a specific inbox

Query: "where is my shipment", Inbox ID: "inbox_123", Limit: 5

Links

Discussion