get_thread_metadata
Retrieve conversation thread metadata (sender, subject, dates, flags) without message bodies, enabling reply-presence and status checks in least-privilege workflows.
Instructions
Same as get_thread (enumerate every message in a conversation thread) but returns ONLY metadata on each thread message — id, threadId, subject, from, to, cc, replyTo, receivedAt, hasAttachment, keywords. Does NOT return preview or any body-derived content. Use for thread-state checks (reply-presence detection, sender enumeration, date comparison, read/flagged status) without ingesting message bodies — particularly in customer-mail least-privilege flows where the skill needs to know "did we reply, when, and from which alias" but is forbidden from reading what was said. Accepts either a thread ID or an email ID and resolves to the parent thread, mirroring get_thread.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadId | Yes | ID of the thread/conversation (an email ID is also accepted and will be resolved to its parent thread) |