What problem does it solve?
NanoClaw lacks native email integration, so users cannot reliably surface incoming emails to the assistant, automate email-based workflows, or send replies from agent context without manual configuration and risky ad-hoc scripts. This Skill centralizes Gmail access, handling OAuth setup, container mounts, and tool/channel registration so agents can safely read, send, and react to email messages.
Core Features & Use Cases
- Tool-only mode: Provide read, search, draft, and send Gmail tools to agents without adding inbox polling or channel code. Ideal when you want manual, on-demand email actions.
- Channel mode: Poll the Primary inbox and deliver incoming emails into the main group as notifications that can trigger automated tasks or scheduled workflows.
- Secure OAuth & persistence: Guides the user through GCP OAuth client creation, stores credentials in ~/.gmail-mcp, mounts that directory into containers for token refresh, and persists refreshed tokens.
- Container and MCP integration: Adds a Gmail MCP server for mcp__gmail__* tools, updates container mounts and agent-runner tooling, and includes tests and manifest changes to ensure deterministic application.
- Use case: Automatically notify a team channel when high-priority emails arrive and allow the agent to reply or perform actions when explicitly instructed.
Quick Start
Ask NanoClaw to run the add-gmail skill, follow the guided GCP OAuth setup, and choose whether incoming emails should automatically trigger the agent.