You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clarify email is optional, add provider options, FAQ update
- Rewrite add-gmail-agent skill: Gmail, Outlook, IMAP options documented
- Make clear email is not core — fun to have, not required
- Add NANOCLAW env var FAQ entry explaining NanoClaw compatibility
- Add email integration section to README
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
description: Wire Gmail MCP server into the agent so it can read, search, and send emails. Requires existing Gmail OAuth setup.
3
+
description: Wire Gmail MCP server into the agent so it can read, search, and send emails. Optional — not core functionality.
4
4
---
5
5
6
-
# Add Gmail to Agent
6
+
# Add Email to Agent (Gmail)
7
7
8
-
Gives the agent access to Gmail via MCP tools. The agent can then read, search, send, and manage emails.
8
+
Gives the agent access to email via MCP tools. Read, search, send, and manage emails from the bot.
9
9
10
-
## Prerequisites
10
+
**This is optional.** Email is not core to GhostClaw. But it's useful — your bot can read verification codes, check for urgent emails, send summaries, or flag things that need attention. One practical use: the bot reads its own auth codes automatically during setup.
11
11
12
-
Gmail MCP server must be set up with OAuth credentials. If not done:
12
+
## Email providers
13
+
14
+
Gmail is the easiest path because there's a well-maintained MCP server for it. But this isn't Gmail-specific — any email provider with an MCP server or IMAP access works. Options:
15
+
16
+
| Provider | Approach | Difficulty |
17
+
|----------|----------|------------|
18
+
|**Gmail**| MCP server with OAuth (documented below) | Medium — Google Cloud setup required |
19
+
|**Outlook/365**| Microsoft Graph MCP server | Medium — Azure app registration |
20
+
|**Any IMAP**| Generic IMAP MCP server | Easy — just server/user/password |
Send a message to the bot: "Check my recent emails"
47
64
48
-
The agent should use `mcp__gmail__search_emails` and `mcp__gmail__read_email` tools to fetch and summarise emails.
49
-
50
65
## What the agent can do
51
66
52
-
With Gmail enabled, the agent has these MCP tools:
67
+
With email enabled, the agent has these MCP tools:
53
68
54
69
| Tool | What it does |
55
70
|------|-------------|
@@ -68,4 +83,8 @@ The agent runner at `container/agent-runner/src/index.ts` conditionally adds the
68
83
69
84
## Disabling
70
85
71
-
Remove `GMAIL_MCP_ENABLED=1` from `.env` and restart. The agent won't have Gmail tools on next invocation.
86
+
Remove `GMAIL_MCP_ENABLED=1` from `.env` and restart. The agent won't have email tools on next invocation.
87
+
88
+
## Using other email providers
89
+
90
+
To swap Gmail for another provider, edit `container/agent-runner/src/index.ts` and change the MCP server command in the `gmail` config block. The rest of the wiring (conditional enable via env var, tool permissions) stays the same.
|`/add-gmail-agent`|Email read/send via MCP (Gmail, Outlook, or any IMAP)|
104
104
|`/add-update-check`| Weekly check for GhostClaw updates |
105
105
|`/add-slack`| Slack as additional channel |
106
106
|`/add-discord`| Discord as additional channel |
107
107
|`/add-telegram-swarm`| Multi-bot agent teams in Telegram |
108
108
109
+
### Email integration
110
+
111
+
Email is optional — not core functionality. But it's fun to have the bot read verification codes, check for urgent messages, or send summaries. Gmail is the easiest setup (OAuth MCP server), but any email provider with IMAP or an MCP server works. See `/add-gmail-agent` for details.
112
+
109
113
### Security scanning
110
114
111
115
Skills are automatically scanned before installation. The scanner checks for:
@@ -214,6 +218,10 @@ Yes. Agents have full host access. That's the point — don't run this on a mach
214
218
215
219
Set `ANTHROPIC_BASE_URL` and `ANTHROPIC_AUTH_TOKEN` in `.env` for any Anthropic-compatible endpoint.
216
220
221
+
**Why do I see `NANOCLAW_*` in the code?**
222
+
223
+
GhostClaw keeps NanoClaw's internal variable names (`NANOCLAW_GROUP_DIR`, `.nanoclaw/` state directory) so that skills from the NanoClaw ecosystem work without modification. User-facing names are all GhostClaw.
224
+
217
225
**How do I build my own skills?**
218
226
219
227
See the [NanoClaw skills architecture docs](docs/nanoclaw-architecture-final.md). GhostClaw skills follow the same format — `manifest.yaml` + `add/` + `modify/` directories.
0 commit comments