# Get Email Plain Text

Reads the separately maintained plain-text version of a drag-and-drop email (newsletter, follow-up, automation or notification email). Empty means KlickTipp generates the plain text from the HTML when the email is published. Also says whether replace-email-plain-text would be accepted and why not. Previous-editor emails are read with get-email-editor-rich-text-content. Reads only.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "editorUrl": {
      "type": "string",
      "description": "Editor URL of the email, as the email editor tools return it",
      "minLength": 12,
      "maxLength": 500
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account of the access token",
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "editorUrl"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "emailId",
    "editorUrl",
    "plainText",
    "isCustom",
    "writable",
    "blockers"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "emailId": {
      "type": "integer"
    },
    "editorUrl": {
      "type": "string"
    },
    "plainText": {
      "type": "string"
    },
    "isCustom": {
      "type": "boolean"
    },
    "writable": {
      "type": "boolean"
    },
    "blockers": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}
```

