wait_for_link
Block until a message containing an extracted link arrives, then return that link (optionally only a given class: verify | reset | unsubscribe | other). The one-call answer to 'trigger the email, get the magic/verification link'. Returns {message_id, link, links}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class | No | Only accept links classified as this: verify | reset | unsubscribe | other. Omit for the first link of any class. | |
| match | No | Filter: `subject:term`, `from:term`, or `to:term`; a bare term matches the subject. | |
| since | No | Only consider messages received after this RFC 3339 timestamp. Omit to accept a message that already arrived. | |
| inbox_id | Yes | Inbox id (uuid) to watch. | |
| timeout_seconds | No | Give up after this many seconds (default 45, max 60). |