get_attachment_content
Fetch email attachment metadata and optionally include base64-encoded content for in-memory processing. Use when you need attachment data without saving to disk.
Instructions
Fetch metadata for a specific email attachment and optionally return its base64-encoded content inline. Use when you need to read or process attachment data in-memory. Set includeBase64:false (default) to retrieve metadata only without loading the full payload. Prefer save_attachment to write the file to disk instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | Composite email id in FOLDER::UID format, as returned by get_emails or search_emails. | |
| attachmentId | Yes | Stable attachment id returned by list_attachments. | |
| includeBase64 | No | Include base64 payload in the response. |