email_channel_write
Set up and operate the email channel. Flow: create_domain → the user adds the returned DNS records at their DNS provider → verify_domain → create_inbox (address = localPart@domain) assigned to an agent. send_human_reply sends a real email. Actions: create_domain — register a sending domain and get its DNS records Needs: domain. | refresh_domain — re-read the domain status Needs: domainId. | verify_domain — ask for DNS verification after the records were added Needs: domainId. | delete_domain — remove a sending domain (its inboxes stop working) Needs: domainId. | create_inbox — create an address on a verified domain Needs: domainId, localPart. | update_inbox — change display name, assigned agent, active flag or settings Needs: inboxId. | delete_inbox — delete an inbox Needs: inboxId. | send_human_reply — reply to an email conversation as a human, from the inbox Needs: inboxId, reply.
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": {
"action": "<action>"
},
"name": "email_channel_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | compact (default) = light mode: long text is cut and bulky blobs are replaced by a size marker. full = complete API response. | |
| orgId | No | Optional organization scope. | |
| reply | No | For send_human_reply: { conversationId, to[], cc?[], subject, replyText, originalFrom, originalFromName?, originalDate (unix ms), originalBody, inboundMessageId?, references?[] }. | |
| action | Yes | ||
| active | No | ||
| domain | No | For create_domain, e.g. "mail.example.com". | |
| inboxId | No | ||
| domainId | No | ||
| settings | No | ||
| localPart | No | For create_inbox: the part before @, e.g. "support". | |
| displayName | No | ||
| assignedAgentId | No | Agent that answers the inbox; null to unassign. |