mark_email_as_read
Mark specific emails as read in Microsoft Outlook using the Email ID. Simplifies email management on Windows via the Outlook MCP Server integration, ensuring efficient workflow.
Instructions
Mark email as read
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_id | Yes | Email ID |
Implementation Reference
- src/index.ts:551-565 (handler)MCP tool handler for 'mark_email_as_read': extracts email_id, calls outlookManager.markAsRead(), returns success messagecase 'mark_email_as_read': { const emailId = (args as any)?.email_id; if (!emailId) { throw new Error('Email ID is required'); } await outlookManager.markAsRead(emailId); return { content: [ { type: 'text', text: `✅ **Email marked as read**\nEmail ID: ${emailId}`, }, ], }; }
- src/index.ts:119-130 (schema)Input schema definition for mark_email_as_read tool in ListTools responsename: "mark_email_as_read", description: "Mark email as read", inputSchema: { type: "object", properties: { email_id: { type: "string", description: "Email ID" } }, required: ["email_id"] }
- src/outlook-manager.ts:363-365 (helper)Stub helper method markAsRead in OutlookManager class that currently does nothing (Promise.resolve())async markAsRead(id: string): Promise<void> { return Promise.resolve(); }