mailgate_wait_for_otp
Poll a MailGate inbox until an OTP or verification code arrives; pass the since timestamp to ignore stale codes from earlier tests.
Instructions
Poll a MailGate inbox until a verification/OTP code arrives. Pass since (ISO timestamp) to ignore stale OTPs from earlier tests.
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": {
"email": "<email>"
},
"name": "mailgate_wait_for_otp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Recipient inbox address (e.g. qa-login@example.com). | ||
| since | No | ISO 8601 timestamp; only consider emails received at or after this time. | |
| sender | No | Optional substring filter on sender address (e.g. github.com). | |
| password | No | Optional inbox password if the inbox is locked. | |
| timeoutMs | No | Maximum wait time in milliseconds (default: 30000). | |
| pollIntervalMs | No | Polling interval in milliseconds (default: 1500). |