# gigamail [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/adecubed/gigamail  
**GitHub Stars:** 22  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/gigamail

## Description
Your real mailbox and calendar for your agent (M365/IMAP); a human approves every send.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "gigamail": {
    "command": "uvx",
    "args": ["gigamail"]
  }
}
```

## Documentation

## What gigamail does

gigamail gives an AI agent controlled access to email accounts using Microsoft Graph or IMAP. It also exposes calendar context, a local search index, sender memory, contact notes, and account-specific knowledge files. These features support email work that depends on prior conversations, a user's identity, product information, or calendar availability.

Mail from each account is archived locally, including attachments, so the local index can remain useful after messages are no longer available from the provider. Outlook history on the computer can be imported into the archive. Multiple accounts remain distinct to the agent, while the human console can present selected accounts together for reading.

## How it works

The MCP process communicates with an agent through stdio and does not open a network port. An optional human console provides a local HTTP API bound to `127.0.0.1`. The package includes the MCP server, command-line interface, watcher, and the console's local HTTP backend.

Search combines provider-side results from Graph or IMAP with the local SQLite index. Sender memory records tone, topics, and history, while contact notes and account knowledge files can inform drafts. Calendar-aware drafting limits proposed meeting times to periods that are free and within office hours.

The permission model separates reading from side effects. Reading is allowed directly, but sending or deleting creates an inert request identifier that a human must approve through the console or CLI. The approved operation uses the exact arguments shown during approval, and writes are recorded in an append-only action log.

## Setup and configuration

The Python distribution can be installed with:

```bash
pip install "gigamail[all]"
```

Microsoft accounts use `gigamail login`, which starts the Microsoft device flow. IMAP accounts can be added with `gigamail accounts add-imap`; examples include Aruba, Gmail, and Libero. Account identity and supporting material can be configured with `gigamail identity set` and `gigamail identity add-file`.

Register the stdio server in an MCP client with a command such as:

```json
{
  "gigamail": {
    "command": "gigamail-server"
  }
}
```

Claude Code and Codex also have repository plugins that register the server and provide guidance for the approval workflow. Desktop installers are available for Windows and macOS. Building the desktop app requires Node.js 22 or newer.

Microsoft's bundled Azure application can show an unverified consent notice, and some corporate tenants may block it. An alternative is to register a separate Azure application and set its client ID in `src/gigamail/core/ms_config.json`. IMAP does not require that Azure configuration.

## Tools and capabilities

- Access multiple Microsoft Graph and IMAP accounts.
- Search through provider mail and a local SQLite index.
- Preserve a local archive of messages and attachments.
- Read calendar availability for draft scheduling.
- Use sender memory, contact notes, and account knowledge files when preparing replies.
- Require human approval before sending or deleting messages.
- Mask sensitive values such as tax identifiers, VAT numbers, IBANs, email addresses, and phone numbers before agent access.
- Keep credentials and account management outside the agent's MCP channel.

## Limitations and notes

The package does not include a built-in LLM; the connected agent supplies the intelligence and its model provider handles content it reads. Mail indexes, credentials, memory, and configuration remain on the local machine, but content passed to an agent is subject to that agent and model provider's data policies.

Mailbox connection and credential entry should be performed by the human in their own shell. An agent can install the package and register the MCP command, but should stop before running account-login or IMAP-account commands. The server is stdio-only; network-based MCP deployment is not part of the described setup.

_Full upstream README: https://allmcps.com/mcp/gigamail/readme_

