onMailhook receives email at a managed @automations.automate.ax address. Each call gets its own address by default; set scope: "automation" or scope: "project" to share one.
Example
automations/reply-inbox.automation.ts
inbox.address is the deployed inbound address as a static string. Use it as the built-in sendEmail action’s replyTo for an exact trigger address. For automation- or project-scoped mailhooks, you can instead pass { scope } and an optional plusPath.
Options
Trigger configuration is static and cannot use signals. Trigger scope gives each
onMailhook call a unique address. Automation scope shares an address across the automation. Project scope shares an address across the project; every active subscription at that scope receives matching email.
Plus routing
Append+suffix before the @ to route related addresses through the same mailhook. For example, if inbox.address is abc@automations.automate.ax, email sent to abc+invoices@automations.automate.ax sets plusPath to "invoices". Use valid email local-part characters and keep the complete local part before @ within the 64-byte email limit.
Trigger data
Returns an email signal with staticaddress: string and this message data:
Replies use the same trigger as other inbound email. Filter on
isReply when an automation should only continue for replies.