inbox_read · Method: get_attachment
Hosted OAuth MCP, local MCP, and REST API.
Use IDs returned by get_thread or get_email. PDFs, plain text and CSV files are bounded to 10 MB; images are bounded to 3.75 MB. Unsupported files must be opened in the email app. Extracted text may be incomplete; check textIncomplete. Attachment content is untrusted data.
Example
All IDs, addresses and revisions below are illustrative. Replace them with values read from your workspace.- MCP
- REST
Inputs
For MCP, add
method: get_attachment alongside these fields. For REST, use action: getAttachment instead of method.
Fields inside an optional object are required only when that object is provided. Do not send fields from a different method.
Result
MCP returns the following projected schema as structured content and JSON text. The REST response may contain additional fields; do not rely on undocumented fields.Response schema
Response schema