Fluxmail

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

NameRequiredTypeDetails
accountIdNostringAccount to operate on. Optional when exactly one account is connected. Minimum length: 1.
messageIdYesstringMinimum length: 1.
attachmentIdYesstringNone
{
  "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

On this page