unshare_email_account
DESTRUCTIVE: Revoke a teammate's access to an owned email account (emailAddress + sharedWithUserId). Optional permissions[] ("USE_IN_CAMPAIGN"/"USE_AND_READ_INBOX") revokes only those; omit to revoke all access. Removing USE_IN_CAMPAIGN makes the teammate's campaign emails from this mailbox fail, including queued ones and later steps for contacts already emailed from it, and a campaign of theirs left with no other sending mailbox is paused; revoking all access also cancels their scheduled one-off emails from it. Confirm with the user first.
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": {
"emailAddress": "<emailAddress>",
"sharedWithUserId": "<sharedWithUserId>"
},
"name": "unshare_email_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| permissions | No | ||
| emailAddress | Yes | ||
| sharedWithUserId | Yes |