list_emails
Retrieve emails from your Mail.app inbox with optional filters to quickly find specific messages.
Instructions
List emails from Mail.app inbox with optional filters
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.js:13-14 (registration)Registration entry for the 'list_emails' tool in the TOOLS array, with a description of 'List emails from Mail.app inbox with optional filters'.
["list_emails", "List emails from Mail.app inbox with optional filters"], ["read_email", "Read full email content by ID"], - server.js:106-110 (registration)The loop that registers all tools (including list_emails) with the MCP server using server.tool().
for (const [name, desc] of TOOLS) { server.tool(name, desc, {}, async () => ({ content: [{ type: "text", text: "This is an inspection stub. Install Local MCP: npx -y local-mcp@latest setup" }], })); } - server.js:107-109 (handler)The handler function for list_emails is a stub that returns a static message. The real implementation is in a native binary.
server.tool(name, desc, {}, async () => ({ content: [{ type: "text", text: "This is an inspection stub. Install Local MCP: npx -y local-mcp@latest setup" }], }));