Wait for an email
wait_for_emailPoll an email address until a matching message arrives, then return subject, sender, text, links, likely action link, and one-time codes for sign-up or reset flows.
Instructions
Poll an address until a matching email arrives, then return its subject, sender, text, links, the most likely confirm/reset/login link (actionLink) and candidate one-time codes. Each poll uses one Mailsac operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Address to watch | |
| fromContains | No | Only match emails whose sender contains this text | |
| receivedAfter | No | ISO timestamp; ignore emails received before it (useful when an address is reused) | |
| timeoutSeconds | No | Give up after this long | |
| subjectContains | No | Only match emails whose subject contains this text | |
| pollIntervalSeconds | No |