imap_add_account
Add a Viettel VMail account to the MCP server with automatic IMAP/SMTP server settings; only email and password are required.
Instructions
Add a Viettel VMail account. Server settings (imap.vmail.viettel.vn:993 SSL, smtp.vmail.viettel.vn:465 SSL) are filled in automatically — only the email address and password are needed. Prefer asking the user to run the setup wizard (npx -p vmail-mcp vmail-mcp-setup) so the password never passes through the chat; use this tool only when the user explicitly provides the credentials here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Friendly name for the account. Defaults to the email address. It also determines the IMAP_MCP_ACCOUNT_<NAME>_* environment-variable names for env-managed credentials. | |
| Yes | Full VMail address, e.g. name@viettel.com.vn. Also used as the login username. | ||
| password | Yes | VMail password | |
| defaultBcc | No | Optional BCC address(es) applied automatically to every outbound send, reply, forward, and draft for this account. Merged with any per-call bcc | |
| sentFolder | No | Explicit Sent-folder name for saving sent-mail copies (e.g. "Gesendet"). Only needed when auto-detection fails — the server must lack a \Sent SPECIAL-USE folder. Check names with imap_list_folders |