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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>",
"secret": "<secret>"
},
"name": "wait_for_email"
}
}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. |