get_email
Retrieve detailed email information, including body content and attachment metadata, using email ID and account ID. Manage content size with customizable limits for streamlined email data extraction on Microsoft MCP.
Instructions
Get email details with size limits
Args:
email_id: The email ID
account_id: The account ID
include_body: Whether to include the email body (default: True)
body_max_length: Maximum characters for body content (default: 50000)
include_attachments: Whether to include attachment metadata (default: True)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
account_id | Yes | ||
body_max_length | No | ||
email_id | Yes | ||
include_attachments | No | ||
include_body | No |
Input Schema (JSON Schema)
{
"properties": {
"account_id": {
"title": "Account Id",
"type": "string"
},
"body_max_length": {
"default": 50000,
"title": "Body Max Length",
"type": "integer"
},
"email_id": {
"title": "Email Id",
"type": "string"
},
"include_attachments": {
"default": true,
"title": "Include Attachments",
"type": "boolean"
},
"include_body": {
"default": true,
"title": "Include Body",
"type": "boolean"
}
},
"required": [
"email_id",
"account_id"
],
"type": "object"
}