mailgate_wait_for_email
Waits for a matching email in a MailGate inbox, then returns its subject, body, OTP code, and verification link for login or test automation.
Instructions
Poll a MailGate inbox until a matching email arrives and return its subject, text body, OTP code, and extracted magic/verification link.
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_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Recipient inbox address. | ||
| since | No | ISO 8601 timestamp filter. | |
| sender | No | Optional sender address substring filter. | |
| password | No | Optional inbox password if locked. | |
| timeoutMs | No | Maximum wait time in milliseconds (default: 30000). | |
| pollIntervalMs | No | Polling interval in milliseconds (default: 1500). | |
| subjectIncludes | No | Optional case-insensitive subject substring filter. |