Configure a site collection's email behavior
set_mailboxTurn a Site Data collection into a mailbox: double opt-in, owner notifications, sending domain, branding. Call once per (site, collection) to configure how captured leads are handled.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>",
"collection": "<collection>"
},
"name": "set_mailbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | site slug the collection belongs to | |
| branding | No | branding applied to mailbox emails | |
| notifyTo | No | address to send owner notifications to | |
| collection | Yes | Site Data collection to turn into a mailbox | |
| doubleOptIn | No | require email confirmation before a contact is active | |
| notifyOwner | No | email the owner on each new capture | |
| sendingDomainId | No | BYO sending domain id to send from |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |