configure_account
Configure IMAP/SMTP credentials for email access. Call when account setup is missing or on first run; saves auth secret to .env and takes effect immediately after user consent.
Instructions
配置邮箱账号(IMAP/SMTP 凭据)。首次运行或配置缺失时调用;auth_secret 为敏感信息,请先征得用户同意再写入;写入后立即生效并持久化到 .env
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": {
"imap_host": "<imap_host>",
"smtp_host": "<smtp_host>",
"username": "<username>",
"auth_secret": "<auth_secret>"
},
"name": "configure_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imap_ssl | No | ||
| smtp_ssl | No | ||
| username | Yes | ||
| auth_mode | No | app_password | |
| imap_host | Yes | ||
| imap_port | No | ||
| smtp_host | Yes | ||
| smtp_port | No | ||
| auth_secret | Yes | ||
| sent_folder | No | Sent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||