Get Inbox Thread Email
get-inbox-thread-emailPurpose: Read one message in a Resend inbox thread, body included: its html and text, its addresses and Message-ID, and the attachments it carries.
Instructions
Purpose: Read one message in a Resend inbox thread, body included: its html and text, its addresses and Message-ID, and the attachments it carries.
NOT for: Reading a whole conversation at once (use get-inbox-thread, which lists a thread's messages without their bodies). Not for emails sent with send-email (use get-email), and not for mail at the account's Resend receiving address (use get-received-email).
Returns: The message's email ID, direction (inbound or outbound), from, to, cc, bcc, reply_to, subject, message_id, read state, received_at, one line per attachment (filename, size and attachment ID), and the html and text bodies it has.
When to use: get-inbox-thread points here for a body. Take the "Email ID" it printed for the message the user wants and pass it as emailId. Attachment contents cannot be downloaded through this server: attachments are listed, not fetched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | ID of the message to read. This is the "id" get-inbox-thread returns for each message in the thread. | |
| inboxId | Yes | Inbox ID | |
| threadId | Yes | Thread ID |