Email client for humans
and machines.

A Tauri v2 + React 19 desktop email client with a powerful command-line interface and a stdio-based MCP (Model Context Protocol) server. Secure, fast, and fully local.

maho-mail://inbox
Maho Core Feature Showcase
Core Architecture

One database. Three interfaces.

Maho Mail combines a desktop app, CLI, and MCP server into a single client. Built with Tauri v2 and React 19 on top of a shared SQLCipher-encrypted SQLite database, it gives you GUI, scripting, and agentic workflows simultaneously.

Three Interfaces

Control your inbox your way.

Tauri v2 + React 19

Desktop Application (GUI)

A clean, keyboard-driven interface built on React 19. Fast searching, smart thread nesting, and instant compose with offline-first capabilities.

CLI Reference

Command-Line Interface (CLI)

Script your email workflows. Output mail data in clean JSON, pipe to tools like jq, grep, or fzf. Complete unix integration.

$ maho search "from:alex invoice" [ { "id": "msg_9f2a81", "subject": "Invoice May 2026", "date": "2026-05-15" } ] $ maho get msg_9f2a81 --body-text
AI Agentic Integration

Model Context Protocol (MCP) Server

Direct stdio-based integration with Claude Desktop, Cursor, or autonomous agents. Let AI agents securely search, draft, or organize your emails locally.

{ "name": "maho-mail-mcp", "command": "maho-mail", "args": ["mcp"], "env": { "MAHO_DB_PATH": "~/Library/Application Support/Maho/mail.db" } }
AI Built In

Bring Your Own Key AI Engine

Draft context-aware replies, generate summaries, and classify incoming emails using local LLMs (Ollama) or custom OpenAI/Anthropic/OpenRouter endpoints.

Local-First

SQLCipher Encrypted Database

Every email, account credential, index, and metadata field is fully encrypted locally. No servers, no tracking, complete privacy.

Performance

Multi-Account Sync

Unified IMAP/SMTP sync engine that pulls emails in parallel. Runs efficiently in the background without draining resources.

Pricing

Free & Open Source.

Maho Mail is licensed under MIT. Completely free to self-host, run, and script. Optional managed AI routing plans are available.

Free / OSS

$0

Full suite. Use your own database & keys.

  • Desktop GUI, CLI, and MCP Server
  • Unlimited accounts
  • Full local database encryption
  • BYOK for LLM integrations

Managed Pro

$5/mo

Support development and get managed LLM APIs.

  • Everything in Free
  • No API Key configuration required
  • High-throughput OpenRouter gateway
  • Direct priority developer support

Bring your inbox to the future.

Download Maho Mail. Beautiful, private, and developer-centric.

Download for macOS