Attach email
attach_identity_emailAttach a mailbox to a bare identity on one of your active domains (202, then provisioning; follow meta.poll). Refused while the account is past due or the identity is suspended, released or already has email. An address another identity detached is held for that identity during its rebind window (email_address_held, 409; attach it after details.available_after as a new, empty mailbox).
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": {
"identity_id": "<identity_id>",
"email_local_part": "<email_local_part>",
"email_domain": "<email_domain>",
"domain_mode": "<domain_mode>"
},
"name": "attach_identity_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain_mode | Yes | ||
| identity_id | Yes | Identity id from list_identities. | |
| email_domain | Yes | ||
| email_local_part | Yes |