read-email
Reads a specific Microsoft 365 email and extracts only visible text from HTML to block hidden prompt-injection content.
Instructions
Reads the content of a specific email. HTML emails are securely sanitized to extract only visible text, preventing prompt injection attacks via hidden content.
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": {
"id": "<id>"
},
"name": "read-email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the email to read | |
| includeRawHtml | No | Include raw HTML content (UNSAFE - for debugging only, may contain hidden prompt injection content) |