search_emails
Search emails by sender, subject, body, date range, or folder using Microsoft Graph. Retrieve results with optional full body content.
Instructions
Search emails using Microsoft Graph API. Uses KQL $search for text queries (from, subject, body) and $filter for date ranges. Works around the $search/$orderBy incompatibility in @marlinjai/email-mcp.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Search body text | |
| from | No | Filter by sender (email or name fragment) | |
| limit | No | Max results (default 25, max 100) | |
| since | No | ISO date (YYYY-MM-DD) | |
| before | No | ISO date (YYYY-MM-DD) | |
| folder | No | inbox, sent, drafts, deleted, archive, junk | |
| subject | No | Filter by subject (keyword) | |
| include_body | No | Include full body |