Your documents. Your answers.
Identity, tone, price lists and knowledge files give the agent the context it needs to prepare a reply.
GigaMail MAIL CITYMAIL CITY / FIELD GUIDE
GigaMail is the email layer for AI agents. It reads and searches your inbox, brings in your documents and calendar, and puts a human decision around actions that need one.
THE ENGINE ROOM
GigaMail runs on your machine, next to the inbox you already use. There is no built-in LLM: the intelligence is whatever agent you bring. Works with Claude, Codex, OpenClaw, Hermes, or your own agent. Ours is Sofia.
Identity, tone, price lists and knowledge files give the agent the context it needs to prepare a reply.
Microsoft Graph and IMAP connect GigaMail to providers such as Gmail and Aruba. MCP over stdio connects the agent, without a listening network port or a GigaMail relay service.
We build and sell apartments. A prospect asks about a unit: size, price, a viewing. The agent pulls the real figures from our own files, attaches the right floor plans, and offers slots that are genuinely free in our calendar.
THE HUMAN CHECKPOINT
An agent can ask to send a message. It does not receive a secret it can use to approve its own request.
A proposed action returns a preview and an inert request ID. The agent can present the proposal, but cannot turn that ID into approval.
The console, CLI, Telegram or Windows notifications surface the decision. Approval is protected by Windows Hello or Touch ID, beyond the agent’s reach.
Execution uses the exact arguments you reviewed, rather than a replacement supplied by the agent. Every write is recorded in the action log.
THE AUTONOMY LANES · SINCE 0.2
Choose the senders or folders a rule covers, and the documents the agent should use. Semi-autopilot proposes a draft. Autopilot sends within a scope you approved in advance.
Routine mail becomes a proposal for human approval. Notifications offer approve, reject and “redo it like this”, with a record of who decided.
A personally authorized rule supplies pre-approval for a precise scope. Rules carry an expiry, daily cap and per-sender cooldown.
Creating or reactivating rules happens in the console or CLI behind Windows Hello or Touch ID. No MCP tool can create, change or enable them.
Recipient, subject and thread come from the incoming message. The recipient is the authenticated sender, never Reply-To or an address embedded in a generated draft.
DMARC failure prevents automatic sending. Auto-generated mail, lists, no-reply senders, provider-marked spam and executable attachments receive no reply.
Drafts arrive as a Windows toast and a Telegram message with approve, reject and “redo it like this” buttons. Decisions are accepted only from the owner’s chat, with an audit line saying who decided what.
decided_by automode:<rule_id>Autopilot is pre-approval within a rule you created in person.
THE TOOL DEPOT
Read operations, reversible writes and destructive actions have different boundaries. Login and credentials stay in the CLI and are not exposed as agent tools.
THE INJECTION LAB
Email content is untrusted input. We wrote hostile emails that order the assistant to forward the inbox to a stranger, wipe the mailbox and approve its own send, then fed them to a real agent with all 24 tools live.

The third scenario exists because someone on r/mcp found the hole: the first version handed the agent a confirmation token in the tool result, so it held both halves. Approval now lives outside the agent’s reach entirely. The structural half of that suite runs in CI on every push, on Windows and Linux, across Python 3.10, 3.12 and 3.13, 279 tests. Several of them exist because strangers on r/mcp found real holes, and each fix ships with their name in the changelog.
Inspect the implementation and test suite ↗YOUR DEPARTURE POINT
The Windows desktop app bundles the console, the backend and its own Python: one installer, no prerequisites, and it updates itself. The three steps below are the pip route, for when your agent is the interface.
Windows 10/11 installer, everything included. Unsigned for now: SmartScreen will warn on first run. The SHA-256 is shown next to the file on the release page.
pip install "gigamail[all]"
gigamail login # Microsoft device flow
gigamail accounts add-imap # Gmail, Aruba, any IMAPgigamail identity set
gigamail identity add-file price-list.xlsx
gigamail identity add-file ./floor-plans/{
"mcpServers": {
"gigamail": { "command": "gigamail-server" }
}
}Then ask: “Reply to the last quote request using the price list.”
Mail City is a model of the workflow, not a connected client: it never touches your inbox and sends no email. The 3D world reuses open-source code listed in the code credits.