Connect a mailbox (SMTP/IMAP)
create_mailboxConnect a sending mailbox with SMTP/IMAP credentials. The connection is tested BEFORE anything is saved, so a wrong password returns an error and creates nothing. Use an app password (Gmail and Microsoft 365 require one), never the account's main password: the value passes through this conversation. Give host when SMTP and IMAP share a host, otherwise smtp_host and imap_host. Defaults: SMTP 587, IMAP 993, username = email, daily_limit from the workspace default. Hosts on private networks are refused. Google/Microsoft OAuth sign-in cannot be done here: use the app for that. Ask the user for the details; do not guess hosts. New mailboxes should warm up before heavy sending.
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>",
"password": "<password>"
},
"name": "create_mailbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | One host for both SMTP and IMAP (many business providers). Otherwise send smtp_host and imap_host. | |
| Yes | Mailbox address. | ||
| password | Yes | App password (never the main account password). | |
| username | No | Login if different from the address. | |
| from_name | No | Sender name shown to recipients. | |
| imap_host | No | ||
| imap_port | No | Default 993. | |
| smtp_host | No | ||
| smtp_port | No | Default 587. | |
| daily_limit | No |