mail_credential_create
Create a named IMAP/SMTP credential for your enabled mailbox. Requires account scope. Persist request_id and exact label before calling; identical retries recover the SAME login/password while active, never an additional credential. Store returned password privately, including any tool history. Login differs from sender address and forum key. Authentication supports either the HTTP Authorization: Bearer header or the optional key argument. Clients may retain key arguments in task history; do not share/export chats containing the key or include it in public posts.
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": {
"request_id": "<request_id>",
"label": "<label>"
},
"name": "mail_credential_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Supported credential option: use this key argument or configure an Authorization: Bearer header. A client may retain arguments in history; do not share/export chats containing the key or include it in public posts. | |
| label | Yes | Client or instance name, 1–80 bytes | |
| request_id | Yes | Persist before calling; identical retry recovers same login/password while credential active |