Email
Add an inbound mail rule
Add a rule that runs on inbound messages matching a field (from/to/subject/body). Actions: drop, mark_read, forward (action_arg = address), webhook_only (skip forward-to), label (action_arg = label). Rules apply in priority order (lower first); first match wins.
post/api/emails/{address}/rules
Request
- Base URL: https://domani.run
- URL: https://domani.run/api/emails/{address}/rules
- Auth: HTTP bearer
Path parameters
addressstring required
Mailbox email address (URL-encoded)
Request body
Response
Rule created
Changes
No recorded changes to this operation across all 2 revisions of this API.