get_thread
Retrieve all messages in an email thread, ordered oldest to newest, by providing the thread key and mailbox. Include the same direction, folder, or trash flag from the original view to return the correct thread.
Instructions
List every individual message in one thread, oldest first. Pass the same direction/trash/folder as the view you found the thread in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trash | No | ||
| folder | No | ||
| mailbox | Yes | Full mailbox address, e.g. hello@example.com | |
| direction | No | ||
| threadKey | Yes | thread_key from a message returned by list_messages |