set_email_preferences
Update a subscriber's email topics only after explicit opt-in. Prevents spam complaints by respecting opt-outs and setting topic preferences for a given email.
Instructions
Set which topics a person receives. Only do this when they have actually asked — silently re-subscribing someone who opted out is what generates spam complaints.
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": {
"email": "<email>",
"topics": "<topics>"
},
"name": "set_email_preferences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| topics | Yes | Topic key to subscribed, e.g. {"newsletter": false} |