# Preview Opt-In Confirmation Email

Previews an opt-in confirmation email’s stored body without sending or creating a contact. Recipient data, signature and confirmation link are added only at send time; plain-only emails show their text. Returns contentHtml when MCP Apps are unavailable. To receive a real one, use send-opt-in-confirmation-email-test.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "optInProcessId": {
      "type": "integer",
      "description": "ID of the opt-in process whose confirmation email is shown",
      "minimum": 1
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account the access token works in",
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "optInProcessId"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "optInProcessId",
    "emailId",
    "subject",
    "contentType",
    "contentHtml",
    "editUrl"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "optInProcessId": {
      "type": "integer"
    },
    "emailId": {
      "type": "integer"
    },
    "subject": {
      "type": "string"
    },
    "contentType": {
      "type": "string"
    },
    "contentHtml": {
      "type": "string"
    },
    "editUrl": {
      "type": "string"
    }
  }
}
```

