Wait for Email
wait_for_emailWait for an incoming email matching optional filters, using real-time long-polling for instant notification and returning the email body in LLM-safe format.
Instructions
Wait for an incoming email matching optional filters. Returns near-instantly when an email arrives (real-time server-side long-polling). Returns the email body in LLM-safe format.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Filter by sender address | |
| subject | No | Filter by subject (substring match) | |
| timeout | No | Max wait time in milliseconds (default: 60000, max: 120000) | |
| inbox_id | Yes | Inbox ID (e.g. ibx_...) |