Skip to main content
Glama

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
NameRequiredDescriptionDefault
email_idYesEmail ID

Implementation Reference

  • MCP tool handler for 'mark_email_as_read': extracts email_id, calls outlookManager.markAsRead(), returns success message
    case '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}`, }, ], }; }
  • Input schema definition for mark_email_as_read tool in ListTools response
    name: "mark_email_as_read", description: "Mark email as read", inputSchema: { type: "object", properties: { email_id: { type: "string", description: "Email ID" } }, required: ["email_id"] }
  • Stub helper method markAsRead in OutlookManager class that currently does nothing (Promise.resolve())
    async markAsRead(id: string): Promise<void> { return Promise.resolve(); }

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cqyefeng119/windows-outlook-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server