Skip to content

Preview Opt-In Confirmation Email

Tool name: preview-opt-in-confirmation-email

Displays the confirmation email of an opt-in process in an MCP App, so it can be looked at before a contact gets it. Shows the body as STORED: the signature, the confirmation link and the recipient's own data behind the placeholders are added per recipient when it is sent, so they are not in this picture and their absence is not a fault. A plain-text-only email is shown as its text. Changes nothing and creates no contact -- unlike the preview screen of the app, which makes a preview contact. The result carries contentHtml for hosts without MCP Apps support; to receive a real one, use send-opt-in-confirmation-email-test.

Input schema

optInProcessIdinteger, >= 1required

ID of the opt-in process whose confirmation email is shown

accountIdnull or integer, >= 1

User ID of the account; omit for the account the access token works in

Default:null
Input example
{ "optInProcessId": 1, "accountId": null }

Output schema

accountIdintegerrequired
optInProcessIdintegerrequired
emailIdintegerrequired
subjectstringrequired
contentTypestringrequired
contentHtmlstringrequired
editUrlstringrequired
Output example
{ "accountId": 0, "optInProcessId": 0, "emailId": 0, "subject": "string", "contentType": "string", "contentHtml": "string", "editUrl": "string" }