Wait for the next email
wait_for_emailWait up to 25 seconds for an email to a mailbox made with create_mailbox. Returns {timed_out:false, message:{from_address, subject, body_text, received_at}} or {timed_out:true}; call again on timeout. Pass since (ISO 8601) to ignore mail you've already seen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Optional ISO 8601 timestamp; only newer mail counts. | |
| secret | Yes | Secret returned by create_mailbox. | |
| address | Yes | Address returned by create_mailbox. | |
| timeout | No | Seconds to wait, default 25. |