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
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 | |||