Skip to content
Tinbox

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> --limit <limit> --offset <offset> --inboxId <inboxId>

Arguments

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

Flags

NameTypeRequiredDefaultDescription
--limitstringyes—Page size (default 20, maximum 100).
--offsetstringyes—Result offset; continue with nextOffset from the previous result.
--inboxIdstringyes—Optional: restrict to one inbox id. Omit to search all accessible inboxes.