Official MCP Registry · app.sagamail/sagamail
Give Your AI Agents a Local-First Inbox — Without Cloud Relay Risk
SagaMail embeds a 31-tool Model Context Protocol (MCP) server and REST API bound strictly to
127.0.0.1 on your Mac. Triage Gmail, Microsoft 365, Yahoo,
iCloud, Fastmail, and IMAP inboxes from Claude, Codex, Cursor, or Antigravity while keeping every
byte encrypted in local SQLCipher storage.
Three Non-Negotiable Safety Locks
Cloud-hosted email connectors copy your OAuth tokens to third-party servers and expose your inbox to prompt-injection auto-sends. SagaMail solves all three at the OS boundary.
1. Loopback-Only (127.0.0.1)
SagaMailAgent listens exclusively on local loopback with macOS Keychain bearer authentication. No email body, attachment, or OAuth credential ever transits a Vohux server.
2. Draft-First Outbound Gate
Permission profiles default to Read-Only or Draft-First with configurable daily send caps and full audit logging (list_agent_actions).
3. Content Fence & PHIPA Lock
Inbound message content is wrapped inside untrusted-content fences to neutralize prompt injection, with per-account PHIPA zero-relay enforcement for regulated clinics.
31 Built-In MCP Tools Across 4 Workflows
Triage, Search & Briefings
get_today_briefingsearch_emailsget_unreadsagamail_bundle_listsagamail_screener_decidesagamail_analyticslist_accountslist_labels
Threads, Context Brain & Attachments
read_emailget_threadget_attachment_textsave_attachmentget_contactsget_contextupdate_context
Draft-First Compose & Follow-Ups
create_draftlist_draftsread_draftupdate_draftsend_draftcancel_sendsend_emailget_waiting_for_reply
Automation, Receipts & Calendar
extract_receiptslist_calendar_invitesmove_emailapply_labelsagamail_snoozesagamail_create_ruleget_subscriptionslist_agent_actions
1-Click Install Across Your Agent Stack
Claude Code & Claude Desktop
1-click install from Settings → Integrations → Agent Plugins or claude.ai/directory (Sagamail Skills).
OpenAI Codex CLI
Native stdio MCP + inbox-triage, draft-reply, and followup-audit skills.
Google Antigravity & Gemini CLI
Full 31-tool local MCP server over 127.0.0.1 with strict draft-first safety.
Cursor & Windsurf
Search error reports, customer threads, and vendor API docs right from your IDE.
Raycast, Hookmark & Shortcuts
Deep message links (sagamail://message/…), local REST API (:7890), and WebSocket events.
Ollama & Local Apple Silicon AI
Run triage, summaries, and compose 100% offline against localhost:11434 — zero cloud tokens.
Open-source MIT plugin repository: github.com/vohux-dev/sagamail-plugin · Read the full documentation