Download attachment
Download an email attachment as an embedded MCP resource.
download_attachment
Download an email attachment as an embedded MCP resource.
Permissions
Required capabilities: mail.read.
Inputs
| Name | Required | Type | Details |
|---|---|---|---|
accountId | No | string | Account to operate on. Optional when exactly one account is connected. Minimum length: 1. |
messageId | Yes | string | Minimum length: 1. |
attachmentId | Yes | string | None |
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"minLength": 1,
"description": "Account to operate on. Optional when exactly one account is connected."
},
"messageId": {
"type": "string",
"minLength": 1
},
"attachmentId": {
"$ref": "#/properties/messageId"
}
},
"required": [
"messageId",
"attachmentId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Last updated