# Get Saved Email Template

Reads a saved email template's name, publication status, thumbnail and editor link.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "templateId": {
      "type": "integer",
      "description": "ID of the saved template, from search-saved-email-templates",
      "minimum": 1
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account of the access token",
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "templateId"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "template"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "template": {
      "type": "object",
      "required": [
        "templateId",
        "name",
        "status",
        "thumbnailUrl",
        "editUrl"
      ],
      "properties": {
        "templateId": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "draft",
            "published",
            "unpublished-changes"
          ]
        },
        "thumbnailUrl": {
          "type": "string"
        },
        "editUrl": {
          "type": "string"
        }
      }
    }
  }
}
```

