bulk_share_email_accounts
Share several owned email accounts with one teammate (sharedWithUserId + permissions[] of "USE_IN_CAMPAIGN"/"USE_AND_READ_INBOX"). Selection: emailAddresses[] OR selectAll:true with filter ({emailAccountType?: "GMAIL"|"OUTLOOK"|"SMTP", onlyActive?}); excludedEmailAddresses[] only combines with selectAll. Permissions are added to any the teammate already has; none are removed. USE_IN_CAMPAIGN lets the teammate's campaigns send from these mailboxes and draw on their daily capacity; their active campaigns can start sending from them on steps that have no fixed inbox list. USE_AND_READ_INBOX lets the teammate read these mailboxes, send from them, and archive, trash or mark their emails as spam.
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": {
"sharedWithUserId": "<sharedWithUserId>",
"permissions": "<permissions>"
},
"name": "bulk_share_email_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | ||
| selectAll | No | ||
| permissions | Yes | ||
| emailAddresses | No | ||
| sharedWithUserId | Yes | ||
| excludedEmailAddresses | No |