openDM, you can go the other way — start a new email thread with any address, without waiting for them to email you first.
Sending a proactive email
CallopenDM on the adapter to create a new thread, then post a message to it.
Triggering via HTTP
A common pattern is exposing an HTTP endpoint that triggers outbound emails. This lets external systems (cron jobs, webhooks from other services, admin dashboards) send emails through your bot.When to use this
- Welcome emails when a user signs up
- Order confirmations and shipping updates
- Alert notifications (monitoring, billing, security)
- Scheduled digests or reminders
onNewMention or onSubscribedMessage handlers — the threading is handled automatically.
Try it yourself
Notifications Example
Proactive outbound emails via openDM and an HTTP POST endpoint