wait_for_email
Pause execution until a matching email arrives in a temporary mailbox, then return the first matching message. Use it to wait for verification emails during signup flows.
Instructions
Block (poll/long-poll) until a matching email arrives in the mailbox. Returns the first matching message. Useful for waiting for verification emails during signups.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The temporary email address to wait for emails on. | |
| timeoutMs | No | Timeout in milliseconds. Default 60000 (60s). | |
| fromContains | No | Only return emails whose sender (from) contains this substring. | |
| pollIntervalMs | No | Poll interval in milliseconds. Default 3000 (3s). | |
| subjectContains | No | Only return emails whose subject contains this substring. |