Mailpipe

Draft Apple Mail replies with your local AI agent CLI

Working when we checked on .

Visit Mailpipe

What is Mailpipe?

Mailpipe connects CLI coding agents such as Codex CLI, DeepSeek Harness, Claude Code, OpenCode, OpenClaw and Hermes Agent to Apple Mail so they can draft replies to incoming messages. It is aimed at Mac users who want AI-prepared email responses inside Apple Mail's compose window. Users can review or regenerate a suggested draft, copy it into a reply, or request a draft on demand. Scope can be limited to a single exact subject or all accounts, verification codes and promotions are filtered, and attachments are never sent to the agent.

Mailpipe pricing

Pricing model: Free

Mailpipe pros

  • Open source, MIT-licensed Swift code available on GitHub
  • Prepares draft replies directly in the Apple Mail compose window
  • Filters verification codes, automatic replies and promotions locally
  • Supports multiple agents: Codex CLI, DeepSeek Harness, Claude Code, OpenCode, OpenClaw, Hermes Agent
  • Scope can be limited to one exact subject or paused/revoked anytime
  • Excludes attachments; drafts stay on the Mac

Mailpipe cons

  • macOS only; requires macOS 13 or later
  • Requires installing and configuring a separate supported CLI agent
  • Processes only Apple Mail accounts
  • No pricing or support information documented

Frequently asked questions about Mailpipe

What does Mailpipe do?

Mailpipe connects a CLI agent like Codex CLI, DeepSeek Harness or Claude Code to Apple Mail so it can draft replies to new messages. Users review, regenerate or copy the draft inside the Mail compose window.

Who is Mailpipe for?

It is for Mac users of Apple Mail who want an AI agent to prepare email replies, including developers already running CLI agents such as Codex CLI or Claude Code.

Which agents does Mailpipe support?

Supported agents include Codex CLI, DeepSeek Harness, Claude Code, OpenCode, OpenClaw and Hermes Agent. Each must be installed as a CLI and configured with a model before use.

What can the model read?

The agent receives the subject and body of authorized messages only. Attachments are excluded, and drafts stay on the user's Mac.

How does Mailpipe handle verification codes?

Mailpipe filters recognizable verification codes, automatic replies and promotions on the Mac. Only remaining new messages within the authorized scope reach the agent.

Can I limit which emails the agent processes?

Yes. You can enter a full subject in Settings so drafts are made only for new messages with that exact subject, or leave it blank to include all Apple Mail accounts. Processing can be paused or access revoked at any time.

Is Mailpipe free and open source?

Yes. Mailpipe's code is MIT-licensed and available on GitHub, and the app can be downloaded for free for macOS 13 or later. Model costs depend on the connected agent's configuration.

What platforms does Mailpipe run on?

It runs on macOS 13 or later as an Apple Mail extension. It is not available for other platforms.

Can it check code changes?

With DeepSeek Harness, Mailpipe can read public diffs from GitHub pull requests linked in email. Using a GitHub account requires the user's confirmation.

How do drafts appear in Apple Mail?

Reply to or forward a message, then click the Mailpipe envelope in the toolbar. A prepared draft appears in the panel; you can edit it, click Regenerate for another version, or generate a draft on demand.

Categories

Use cases

Alternatives to Mailpipe

Similar AI tools

Search AI tools on NeedAnAI · All AI tools A–Z