mailgate_simulate_email
Inject a simulated RFC822 email through the live MIME parser and OTP extractor to test verification-code handling; requires admin token and ALLOW_SIMULATE=true.
Instructions
Inject a simulated RFC822 message through the live MIME parser and OTP extractor (requires MAILGATE_ADMIN_TOKEN and ALLOW_SIMULATE=true).
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": {
"to": "<to>"
},
"name": "mailgate_simulate_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Allowlisted recipient inbox address. | |
| from | No | Optional sender address. | |
| subject | No | Optional email subject (defaults to random OTP). | |
| body_text | No | Optional plain-text body. | |
| from_name | No | Optional sender display name. |