Fluxmail

Download attachment

Get attachment metadata and a fetchable resource link. Set inline to embed the bytes.

download_attachment

Get attachment metadata and a fetchable resource link. Set inline to embed the bytes.

Permissions

Required capabilities: mail.read.

Inputs

NameRequiredTypeDetails
accountIdYesstringMinimum length: 1.
messageIdYesstringNone
attachmentIdYesstringOpaque attachment ID returned by message metadata Minimum length: 1.
inlineNoboolean or nullNone
{
  "type": "object",
  "properties": {
    "accountId": {
      "type": "string",
      "minLength": 1
    },
    "messageId": {
      "$ref": "#/properties/accountId"
    },
    "attachmentId": {
      "type": "string",
      "minLength": 1,
      "description": "Opaque attachment ID returned by message metadata"
    },
    "inline": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "required": [
    "accountId",
    "messageId",
    "attachmentId"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Last updated

On this page