Connect MultiMail to Zed for AI-Powered Email

Add email capabilities to Zed's built-in AI assistant through MCP. Send, read, and manage email from the fastest code editor.


Zed is a high-performance code editor built in Rust with GPU-accelerated rendering and native AI assistant support. Its MCP integration lets you extend the AI assistant with external tools like MultiMail, adding email capabilities to your development workflow without sacrificing Zed's speed.

MCP servers in Zed are configured under the context_servers key in Zed's settings.json. The MultiMail server connects via stdio transport, and once configured, its tools are available to Zed's AI assistant panel for composing emails, reading inboxes, and managing contacts.

For developers who value performance and simplicity, the Zed and MultiMail combination offers a streamlined way to handle email alongside code. Send deployment updates, reply to support threads, or process incoming feature requests — all within Zed's lightning-fast interface.

Get started

1

Get your MultiMail API key

Sign up at multimail.dev and create an API key from your dashboard. This key authenticates all MCP server requests.

2

Create an agent mailbox

In the MultiMail dashboard, create a mailbox for Zed's AI assistant to use. Set the oversight mode to gated_send so emails require your approval before sending.

3

Open Zed's settings

Open Zed's settings file by pressing Cmd+, (macOS) or navigating to Zed > Settings. The settings file is located at ~/.config/zed/settings.json.

4

Add the MultiMail MCP server

Add the MultiMail server under the context_servers key in your Zed settings.

json
{
  "context_servers": {
    "multimail": {
      "command": {
        "path": "npx",
        "args": ["-y", "@multimail/mcp-server"],
        "env": {
          "MULTIMAIL_API_KEY": "mm_live_your_key_here"
        }
      }
    }
  }
}
5

Verify the connection

Open Zed's AI assistant panel (Cmd+Shift+A) and ask it to list your mailboxes. If the MCP server is connected, you'll see your MultiMail mailboxes returned.


Available MCP tools

ToolDescriptionExample
send_emailSend an email from your agent mailbox to any recipient.Email the team a summary after completing a code review in Zed.
reply_emailReply to a received email, maintaining the thread context.Reply to a pull request discussion with implementation notes.
check_inboxCheck a mailbox for new or unread messages.Check for new emails while working on a feature branch.
read_emailRead the full content of a specific email including headers and body.Read a spec email to understand requirements before implementation.
create_mailboxCreate a new agent mailbox on your MultiMail account.Create a mailbox for a new project's notification system.
list_mailboxesList all mailboxes on your MultiMail account.View available mailboxes before selecting a sender address.
get_threadRetrieve an entire email thread to see the full conversation history.Review a design discussion thread before responding.
search_contactsSearch your contact list by name, email, or tags.Find a reviewer's email to send them updated documentation.
add_contactAdd a new contact to your MultiMail contact list.Save a collaborator's email after a pairing session.
tag_emailTag or categorize an email for organization and filtering.Tag emails by sprint or milestone for easy retrieval.
list_pendingList all emails currently awaiting human approval.Review queued emails before ending your work session.
decide_emailApprove or reject a pending email in the oversight queue.Approve a meeting summary email after verifying accuracy.

Usage examples

Zed MCP configuration
json
{
  "context_servers": {
    "multimail": {
      "command": {
        "path": "npx",
        "args": ["-y", "@multimail/mcp-server"],
        "env": {
          "MULTIMAIL_API_KEY": "mm_live_your_key_here"
        }
      }
    }
  }
}

Add this to ~/.config/zed/settings.json to connect MultiMail to Zed.

Collaborative code review with email
text
Review the changes in the current branch compared to main. Summarize the key changes, note any concerns, and email the review to the PR author at [email protected].

Use Zed's collaborative features alongside MultiMail for code review.

Deployment notification workflow
text
List the commits since the last tag. Create a changelog grouped by type (features, fixes, refactors). Send it to [email protected] with the subject 'Release Notes v2.4.0'.

Ask Zed's AI to draft and send a deployment email after changes are ready.

Zed settings with multiple context servers
json
{
  "context_servers": {
    "multimail": {
      "command": {
        "path": "npx",
        "args": ["-y", "@multimail/mcp-server"],
        "env": {
          "MULTIMAIL_API_KEY": "mm_live_your_key_here"
        }
      }
    },
    "docs": {
      "command": {
        "path": "npx",
        "args": ["-y", "@other/docs-server"]
      }
    }
  }
}

Combine MultiMail with other context servers in Zed's settings.


Best practices

Zed uses context_servers, not mcpServers

Unlike most MCP clients, Zed configures MCP servers under the 'context_servers' key in settings.json, not 'mcpServers'. The structure also nests the command differently with a 'path' field instead of 'command'. Check the exact format in Zed's documentation.

Use the AI assistant panel for email

Open Zed's AI assistant panel with Cmd+Shift+A to interact with MultiMail tools. The assistant panel is where you'll compose emails, check inboxes, and manage contacts through natural language prompts.

Leverage Zed's speed for email triage

Zed's fast rendering and responsive UI make it ideal for quickly triaging emails. Ask the AI assistant to check your inbox, summarize unread messages, and tag them by priority — all without the interface lagging, even with large email volumes.

macOS and Linux only

Zed is currently available on macOS and Linux. Windows support is in development. If you need Windows support now, consider Cursor or VS Code with Continue as alternatives that offer similar MCP integration.


Common questions

Does Zed support MCP servers natively?
Yes, Zed has built-in MCP support through its context_servers configuration. MCP servers are configured in ~/.config/zed/settings.json and are available to Zed's AI assistant. Zed supports stdio transport, which is what the MultiMail MCP server uses.
Why is Zed's MCP config format different from other editors?
Zed uses its own configuration structure with 'context_servers' as the key and a nested 'command.path' field instead of the standard 'mcpServers' format. This is Zed's design choice for its settings system. The config still works the same way — it launches the MCP server process and communicates via stdio.
Is Zed available on Windows?
Zed is currently available on macOS and Linux, with Windows support in active development. If you need MCP support on Windows today, consider Cursor, VS Code with Cline or Continue, or Claude Desktop as alternatives that support the same MultiMail MCP server.
Can I use Zed's collaborative features with MultiMail?
Yes. Zed supports real-time collaborative editing, and each collaborator can have their own MCP configuration. This means multiple developers can share an editing session while each using their own MultiMail mailbox to send and receive emails independently.
How do I check if the MCP server is connected in Zed?
Open the AI assistant panel with Cmd+Shift+A and ask it to list your MultiMail mailboxes. If the server is connected, you'll see your mailboxes listed. If there's an error, check Zed's log output for connection details. You can also verify by running the npx command manually in your terminal.

More MCP clients

The only agent email with a verifiable sender

Email infrastructure built for AI agents. Verifiable identity, graduated oversight, and a 38-tool MCP server. Formally verified in Lean 4.