MCP server that exposes mail-use CLI capabilities as Model Context Protocol tools, allowing AI clients to call email operations directly without shelling out to the CLI. Integrates with a persistent daemon for pooled IMAP connections.
mail-use provides 20 tools with mostly complete schemas and descriptions. Naming follows verb_noun convention (email_list, email_send, email_delete). Descriptions are present and substantive (avg ~180 chars), exceeding the 10-char minimum. However, several critical gaps reduce the score: (1) Parameter descriptions are inconsistent, many reuse boilerplate text ('Account id (e.g. 'leeguooooo_gmail')...') across tools, reducing clarity; (2) Output schemas are not documented, callers cannot predict response structure; (3) Error handling lacks recovery guidance; (4) Destructive operations (email_delete, cleanup_apply) lack dry_run confirmation patterns in all cases; (5) Some parameters like 'ids' in email_show lack type specificity (array of what?). The server does accept human-friendly identifiers (email addresses, account names) alongside IDs, which is good. Zod schema validation is present but not exposed to LLMs.
List configured email accounts
Test IMAP/SMTP connectivity
Apply cleanup rules to emails
Generate an email digest
Delete emails
Download email attachments
Flag or unflag an email
Output schemas not documented. Callers cannot predict response structure (fields, types, pagination). LLMs must guess what fields to extract for downstream tool calls.
Destructive operations (email_delete, cleanup_apply) lack explicit confirmation/dry-run guidance in descriptions. Agents may execute irreversible actions without user confirmation.
Parameter descriptions reuse boilerplate text across tools (e.g., account_id description identical in 15+ tools). Reduces clarity and wastes tokens. Should be concise and tool-specific.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 62 | 2025-06-18+ | v2 |
List folders for an account
Forward an email
List recent emails
Mark emails as read/unread/flagged
Move emails to a folder
Reply to an email
Search emails by from/subject/text/date
Send an email
Read one or more emails
Process inbox workflow
Monitor email accounts
Force a sync of email accounts
Initialize sync for an account
Array parameters lack element type specification. 'ids' in email_show, 'to' in email_send, 'attachment_indices' in email_download_attachments do not specify array element types (string? number? object?).
Error handling lacks recovery guidance. No indication of which errors are retryable, user-fixable, or fatal. LLMs cannot determine next steps on failure.