work/nomarch-google
nomarch · calendar, mail, files, contacts
Google Workspace bridge
Calendar, Gmail, Drive and Contacts as tools for agents and for Mae, through a hardened sidecar that reads by default and only writes after a person approves a frozen confirmation card.
Built
An assistant that can read your calendar is useful. One that can send mail on its own is a liability. This bridge gives agents and Mae read access to calendar, mail, files and contacts, and keeps writing behind a person.
- Runs on
- Two containers on the home server; tools on every agent machine
- Built with
- Rust sidecar and egress proxy, nomarch server gate, MCP tools
- Started
- October 2026
Design
Reads are free, writes need a thumb
Ask, change and guard-rail lanes. The confirmation pattern and the roll-out order.
Proposals, not actions
Writes (sending, creating, updating) are a separate opt-in. Each one becomes a stored proposal shown as a confirmation card in the admin app, with the exact change frozen so it cannot be altered after the person has seen it. The background heartbeat never writes, and email and document contents are treated as untrusted data, never as instructions.
How it's built
- Two containers: a sidecar that holds the credentials, and an egress proxy that only lets traffic out to Google's API hosts. Read-only root filesystems, every capability dropped, tight memory and process limits, and separate inside and outside networks.
- The nomarch server is the single gate between callers and the sidecar: it audits metadata only, rate-limits and relays over a local socket.
- Credentials are created by the operator and kept in a root-only directory; no agent fetches or guesses them. A written guide walks through the cloud project, service account and scopes.
- Tests at every layer, ending in an end-to-end run that drives a real MCP client through the relay and sidecar to a mock Google.
- Built and staged; it is installed once the operator creates the credentials. There is no real mail or calendar to show, so the pictures are architecture diagrams.

