Clam AI
Clam AI is an email proxy and policy enforcement layer that allows AI agents to interact with Gmail via MCP using granular, plain-English access rules compiled into Cedar policies without storing email content.
Clam AI is an email proxy and policy enforcement layer that allows AI agents to interact with Gmail via MCP using granular, plain-English access rules compiled into Cedar policies without storing email content.
What the product does and how it is positioned
Clam AI provides a security mediation layer between AI agents and email accounts, enabling users to grant restricted inbox access rather than full mailbox permissions. By defining isolated environments called Shells, users specify in plain English exactly which messages an agent can read, summarize, or draft responses to.
Under the hood, Clam translates natural language rules into deterministic Cedar policies, enforcing least privilege on every agent interaction. The service operates as an MCP proxy that logs every action in an audit trail while keeping email storage and authentication tokens outside its own database.
Source-supported ways to use the product
An agent configured with a travel Shell can read flight, hotel, and booking emails to construct itineraries and draft host replies without permission to send messages.
An expense tracking Shell permits an agent to inspect receipts and utility invoices to draft notices about questionable charges while helping reduce automated outbound sending.
A project management Shell allows an agent to monitor incoming work correspondence and newsletters for competitor updates and prepare project notes without outbound delivery.
The documented workflow, where available
The user links Gmail to Clam, which classifies incoming messages into categories such as travel or receipts without storing email bodies.
The user creates a scoped inbox slice with plain-English rules specifying the reading, drafting, or sending permissions for a specific agent.
The user links the AI agent to Clam using its Model Context Protocol server, giving the agent standard email tools scoped to allowed messages.
Agents process email tasks while Clam deterministically checks each request against Cedar policies and records every action in an audit log.
Clam AI compiles plain-language instructions written by users into formal Cedar policies. When an AI agent issues a request to search, read, or draft an email, the request is intercepted and evaluated against these deterministic policies before reaching the email provider.
Security is structured across multiple tiers to help reduce data exposure. Email content is never retained by Clam, and Google authentication tokens are maintained externally by Clerk rather than stored in Clam's database. Internal communications run across a private WireGuard network with AES-256 encryption at rest.
Checks to run with your own material and workflow
What was checked and when
Answers based on the source-checked product record
No. Clam AI operates as a proxy and does not store email content in its database. Gmail remains the source of truth for all mailbox data, and classification models only assign labels without retaining message bodies.
Users write access rules in plain English for each agent Shell. Clam AI compiles these rules into deterministic Cedar policies, checking every agent request against the rules to allow, deny, or require approval for specific actions.
Clam AI provides a Model Context Protocol server that connects to compatible agents including Claude, ChatGPT, Gemini, H3rm3s, Muse, Gr0k, and 0p3nCl4w, supplying standard email tools restricted to allowed messages.
Yes. Clam AI records every attempted and executed action in a live decision log and audit trail, showing whether an action was allowed, denied, or flagged for approval alongside the exact policy rule that governed it.
User authentication tokens are managed by Clerk rather than stored in Clam AI's database. All traffic is secured with TLS 1.2 and TLS 1.3, data at rest is encrypted using AES-256, and internal communication uses a private WireGuard network.