Notification channels
Notification channels push what matters to your phone or team chat: verification codes, important mail, drafts awaiting approval, mailbox connection problems, daily and weekly reports.
Go to AI → Notification channels. A channel can be used in two ways:
- Subscribe to events: pushed automatically when the event happens
- Called by rules: the Send notification action in inbox rules
Supported channels
Section titled “Supported channels”Bark (iPhone)
Section titled “Bark (iPhone)”- Install the Bark app on your iPhone
- Copy the push URL from its home screen, like
https://api.day.app/XXXX/ - Enter the
XXXXpart as the Key
Change Server for a self-hosted Bark server. For verification codes, Bark copies the code automatically, ready to paste.
- Open the group chat that should receive notifications and tap “…” in the top right
- Choose “Message push” (or “Group robot”) → Add robot
- Copy the robot’s webhook URL
DingTalk
Section titled “DingTalk”- Group settings → Robots → Add robot → Custom (via webhook)
- Pick one security option: Custom keywords with
DaMail, or Signature and copy the secret starting withSEC - Copy the webhook URL; with signatures, enter the secret as the signing secret
Feishu / Lark
Section titled “Feishu / Lark”- Group settings → Bots → Add bot → Custom bot
- Copy the webhook URL
- If signature verification is on, copy the secret into Signing secret
Telegram
Section titled “Telegram”- Message @BotFather with
/newbotand copy the bot token - Send your bot a message
- Open
https://api.telegram.org/bot<Token>/getUpdatesand copychat.idinto Chat ID (a number for you, starting with-for groups)
If your server can’t reach Telegram directly, set API base to a reverse proxy.
Custom webhook
Section titled “Custom webhook”Push to your own service (n8n, Home Assistant and so on):
POSTJSON:{ event, title, body, url, data, timestamp }- The
x-damail-eventheader carries the event name - With a secret set:
x-damail-signature: sha256=<HMAC-SHA256(secret, raw body)>
See REST API · Webhook for the format and a verification example.
Events
Section titled “Events”| Group | Event | When |
|---|---|---|
| Incoming | message.received |
New mail in the inbox (every message) |
| Incoming | message.important |
New mail marked high priority by AI |
| Incoming | message.verification |
A verification code arrived |
| Sending | draft.pending |
The AI assistant, an inbox rule or an agent submitted mail for approval |
| Sending | draft.sent |
Mail sent |
| Sending | draft.failed |
Mail failed to send |
| Sending | followup.due |
A follow-up is due and the sent mail has no reply yet |
| System | account.error |
A mailbox connection went from OK to failing |
| Reports | report.daily |
Daily mail report generated |
| Reports | report.weekly |
Weekly mail report generated |
When an inbox rule calls a channel, webhooks receive the event name rule.matched, with the rule’s ID and name in data.rule.
A channel with no events ticked is only used by inbox rules.
Delivery
Section titled “Delivery”- One push per message per channel: if several events apply, the most specific wins (verification > important > new mail); a channel already notified by a rule isn’t notified again by events
- Retries: failed pushes are retried after 30 seconds, 1 minute and 2 minutes — 4 attempts in total
- Delivery history: each channel’s delivery history shows every push with its content, status and error
- Send test: check that it arrives before saving
Suggested setups
Section titled “Suggested setups”| Goal | Setup |
|---|---|
| Verification codes on your phone | Bark channel subscribed to message.verification |
| Important mail alerts | WeCom / DingTalk / Feishu group subscribed to message.important |
| Approving agent-written mail | Subscribe to draft.pending, then approve in the web app |
| Know when a mailbox drops | Subscribe to account.error (fires after an app password expires or a password changes) |
| Morning digest | Subscribe to report.daily |
| Alerts for one sender | An inbox rule matching the sender with a Send notification action |