wait_for_email
Poll an email inbox until a matching message arrives, then extract links from it. Automates waiting for confirmation emails with retry and backoff.
Instructions
Poll an inbox until a matching email arrives. Retries with backoff. Returns the matching message with extracted links. Much better than manually calling check_inbox in a loop.
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>"
},
"name": "wait_for_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The email address or inbox name to poll | |
| from | No | Filter: only match emails from this sender address (substring match) | |
| subject_contains | No | Filter: only match emails whose subject contains this string (case-insensitive) | |
| timeout_seconds | No | Max seconds to wait before giving up (default 60) |