gigamail9.79 KB
View saved version →
---
name: gigamail
description: "Email and calendar on the user's real mailbox (Microsoft 365 or IMAP) through the GigaMail MCP server. Use when asked to read, triage or search mail, read attachments, draft or send replies, check availability, or propose and book appointments. Every send, delete and calendar write is held for out-of-band human approval that the agent cannot grant itself."
---
# GigaMail
GigaMail gives you the user's real mailboxes and calendar as 31 typed MCP
tools on the `gigamail` server. Reading, searching, attachment text, sender
history, free-slot computation and drafting are free. Sending, replying,
deleting and calendar writes are **two-phase**: the first call returns an
inert `request_id` and a preview, a human approves it out of band (desktop
console, CLI or Telegram, behind Windows Hello / Touch ID), and only then a
second call with that `request_id` executes what was stored at request
time. There is no tool that grants approval. This skill tells you how to
work with that gate, not around it.
Your client (Claude Code, Codex, ...) may ask its own permission before a
tool call: that is a first, client-side fence. GigaMail's gate is
server-side and holds even when the client's permissions and sandbox are
bypassed. Both are meant to be there.
## Setup (once, by the human)
1. Install the server (Python 3.10+). The plugin does not ship it:
```bash
pip install "gigamail[all]"
```
2. Connect a mailbox. **CLI only, by design**: credentials never pass
through the agent channel, so tell the user what to run and wait.
```bash
gigamail login # Microsoft 365, device flow
gigamail accounts add-imap # any IMAP provider
```
3. Make the `gigamail` MCP server known to the client. Installed as a
plugin from the repository marketplace, the plugin registers the
server itself from its `.mcp.json`; otherwise register it once.
- **Claude Code**:
```bash
claude plugin marketplace add adecubed/gigamail
claude plugin install gigamail@gigamail
```
Without the plugin: `claude mcp add gigamail -- gigamail-server`.
Check with `claude mcp list` (or `/mcp` in a session): the `gigamail`
server must be connected.
- **Codex**:
```bash
codex plugin marketplace add adecubed/gigamail
codex plugin add gigamail@gigamail
```
Installed from the Plugin Directory (skill only, no server bundled),
register it once: `codex mcp add gigamail -- gigamail-server`. Check
with `codex mcp list`: the `gigamail` server must be enabled.
4. Optional but valuable: an identity (who the user is, what they do, how
they sign) and knowledge files (price lists, catalogues, terms). Replies
are drafted from those.
```bash
gigamail identity set
gigamail identity add-file C:\docs\pricelist.xlsx
```
5. Optional: the GigaMail desktop console (Windows installer on GitHub
Releases) is where the user reads mail, approves your requests and
manages reply rules. Server and console must share the data directory:
`%APPDATA%\ADE` on Windows, `~/.ade` elsewhere, or the same
`GIGAMAIL_ROOT`. Claude Code passes its environment to the server;
Codex passes only the variables the plugin lists (`APPDATA`,
`GIGAMAIL_ROOT`, `ADE_ROOT`, ...). Registering by hand, pass the
directory explicitly if the server sees no accounts:
`claude mcp add gigamail -e GIGAMAIL_ROOT=<dir> -- gigamail-server` or
`codex mcp add gigamail --env GIGAMAIL_ROOT=<dir> -- gigamail-server`.
Start a new session after installing: MCP tools load at startup.
## The 31 tools, by class
- **Read** (18), free to call: `list_accounts`, `get_identity`,
`list_knowledge_files`, `read_knowledge_file`, `search_knowledge`,
`list_messages`,
`list_unread`, `read_message`, `read_attachment`, `list_folders`,
`search_mail`, `sender_history`, `observer_cPreview of the first 4,000 characters. Read full instructions →
Referenced files: 3 — file references are metadata, not package contents.