Local email connectivity for AI agents — MCP server for Microsoft 365 and manual-token Gmail setup
24 tools with consistent verb-noun naming and complete input schemas. All tools have descriptions (avg 85 chars, within baseline 34-392). Parameters uniformly typed and described. However, output schemas are not documented in the provided source, limiting downstream tool chaining visibility. Error handling guidance is absent, tools lack recovery hints or categorization. No confirmation patterns for destructive operations (delete_email, delete_folder, delete_inbox_rule). Security: mailbox parameter is user-provided string with no validation hints; no scope declarations visible. Composition is strong, tools are single-responsibility and well-separated (send_email vs reply_to_email vs create_draft). Pagination present on list_emails (limit/offset). Overall: solid baseline definitions, but missing output documentation and error recovery patterns that would elevate to 70+.
Cancel a scheduled email send
Create a draft email message
Create a new folder in a mailbox
Create a new inbox rule
Delete an email message
Delete a folder from a mailbox
Delete an inbox rule
Download an attachment from an email
Output schemas not documented in source. LLMs cannot infer what fields are returned by list_emails, read_email, search_emails, etc., breaking tool chaining and forcing discovery detours.
Destructive operations (delete_email, delete_folder, delete_inbox_rule) lack confirmation patterns. No dry-run, no explicit user_explicitly_requested_deletion on all three, no recovery guidance. Agents can accidentally delete without safeguards.
No error handling guidance visible. Tools lack recovery hints (e.g., 'If mailbox not found, call list_mailboxes()'), error categorization (retryable vs user-fixable), or actionable error messages. Agents cannot self-correct on failures.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 58 | 2025-06-18+ | v2 |
Flag or unflag an email message
Get a conversation thread with all related messages
Add or remove labels/categories from an email
List attachments in an email message
List emails from a mailbox folder with pagination and filtering
List all folders in a mailbox
List all inbox rules for a mailbox
List scheduled email sends
Mark an email as read or unread
Move an email to a different folder
Read the full content of a specific email message
Reply to an email message
Search for emails using query parameters
Send a draft email message
Send an email message
Update a draft email message
create_inbox_rule has vague 'conditions' and 'actions' parameters (type: object, no schema). LLMs cannot determine valid structure without examples or nested schema. Requires formal JSON Schema definition.
No scope declarations visible (e.g., 'read:email', 'write:email', 'delete:email'). Agents cannot be configured with least-privilege permissions, and audit trails lack permission context.