Skip to content

CLI command

tinbox search-emails

Aliases: search

Full-text search the user's mail by subject, sender, or body. Call this to find relevant emails BEFORE answering — never answer from memory about specific mail. Returns matching messages with threadId, inboxId, subject, sender, and a body preview.

Generated from tool: search_emails

Usage

sh
tinbox search-emails <query> --inboxId <inboxId>

Arguments

NameRequiredDescription
queryyesSearch terms (e.g. 'refund', 'invoice March').

Flags

NameTypeRequiredDefaultDescription
--inboxIdstringyes—Optional: restrict to one inbox id. Omit to search all accessible inboxes.