Fluxmail

Get thread

Fetch a page of conversation messages with bounded body content.

get_thread

Fetch a page of conversation messages with bounded body content.

Permissions

Required capabilities: mail.read.

Inputs

NameRequiredTypeDetails
accountIdNostring or nullAccount to operate on. Optional when exactly one account is connected. Minimum length: 1.
threadIdYesstringMinimum length: 1.
pageSizeNointeger or nullMinimum: 1. Maximum: 25.
pageTokenNostring or nullMinimum length: 1.
bodyFormatNotext or html or both or none or nullNone
{
  "type": "object",
  "properties": {
    "accountId": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "description": "Account to operate on. Optional when exactly one account is connected."
    },
    "threadId": {
      "type": "string",
      "minLength": 1
    },
    "pageSize": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1,
          "maximum": 25
        },
        {
          "type": "null"
        }
      ]
    },
    "pageToken": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ]
    },
    "bodyFormat": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "text",
            "html",
            "both",
            "none"
          ]
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "threadId"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Last updated

On this page