Mail: New-mail alerts in Telegram
mail_new_mail_alertsThe caller's OWN Telegram alerts about new letters in a company mailbox (e.g. info@ of their shop): 'сповіщай мене про нові листи', 'вимкни сповіщення про пошту', 'лише важливі', 'уведомляй меня о новых письмах', 'присылай уведомления о почте', 'код подтверждения пришёл на почту', 'notify me about new emails'. A request to be notified IS action=on — call it at once (mode 'all' unless they say important/без рассылок), no status call or question first; the answer names the mailbox. action=status lists the company mailboxes they may read with the switch; on switches it on (mode 'all' = every new letter, 'important' = no mailings/automatic notices; letters with a confirmation code always come, the code on its own line); off switches it off. Without 'mailbox' on/off applies to every company mailbox of the active workspace. Only for the caller — never for another person. If telegram_linked is false, tell them to connect Telegram first (Налаштування → Сповіщення). CONFIRMATION: this tool runs immediately when the caller asks for it — it writes only their own record, and they can undo it from this same surface, so the request is taken as the instruction. You get an ordinary result, not a plan_token. Everything destructive, outbound or financial still proposes and waits.
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": {
"action": "<action>"
},
"name": "mail_new_mail_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | For on. Default 'all'. | |
| action | Yes | ||
| mailbox | No | Address or name of the company mailbox, e.g. info@shop.ua. |