Wait for an email
wait_for_emailWait (long-poll) until an email arrives in the inbox and return it in full, including extracted.code (one-time code) and extracted.verification_link. Returns immediately if a matching email is already there. To wait for the next one, pass after = the previous email's received_at.
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 |
|---|---|---|---|
| after | No | Only return an email received after this millisecond timestamp (default 0 = any email still in the inbox). | |
| address | Yes | A tempmo inbox address, e.g. k3x9q7m2ab@tempmo.com | |
| timeout_seconds | No | How long to wait (default 30, max 50). Call again if it times out. |