AI-powered Gmail automation skill. Turn your inbox into an automation hub: create email rules, get AI-summarized digests, auto-triage important messages, and connect Gmail with Slack, Notion, Google Calendar, Linear, and HubSpot — all from natural-language commands.
npx skills add tourmind-com/mailclaw- Open the skill — it will guide you through setup
- Paste your API key from https://aauth-170125614655.asia-northeast1.run.app/dashboard
- Connect Gmail via OAuth
- Read
setup.mdand register the heartbeat tasks defined there - Create your first rule from a template
Server-side (automatic): Gmail Pub/Sub receives new emails → AI analyzes intent, summarizes, matches rules → stores results.
Skill (conversational): Fetches pre-analyzed results, presents them, and executes user-confirmed actions.
Heartbeat (scheduled): Polls for new emails every minute, plus daily digests at 09:00 and 17:00.
| File | Purpose |
|---|---|
SKILL.md |
Core skill — setup flow, intents, API reference, output formats |
heartbeat.md |
Daily digest routine — fetch analyzed emails and present |
setup.md |
OpenClaw config — registers heartbeat tasks after Gmail auth |
| Template | Condition | App | Action |
|---|---|---|---|
| Client emails → Notion task | Emails from important contacts or clients | notion |
NOTION_CREATE_NOTION_PAGE |
| Meeting invites → Calendar event | Emails containing meeting invites or calendar requests | googlecalendar |
GOOGLECALENDAR_CREATE_EVENT |
| Feedback emails → Slack alert | Emails containing feedback, reviews, or complaints | slack |
SLACK_SENDS_A_MESSAGE_TO_A_SLACK_CHANNEL |
Gmail, Google Calendar, Notion, Slack, Linear, HubSpot.
- "Check my email"
- "When I get a meeting invite, create a calendar event"
- "Show my rules"
- "Connect Slack"
- "Reply to David's email"
User installs skill
→ Setup: API key → Gmail OAuth
→ Read setup.md → register heartbeat tasks
→ Every 1 min: poll for new emails (heartbeat.md)
→ 09:00 / 17:00: push daily digest (heartbeat.md)
→ First rule from template
→ User opens skill to interact with emails (SKILL.md)
- Inbox zero with AI — auto-triage emails into actionable cards and a skip-able digest
- Email-to-task automation — convert client emails into Notion tasks or Linear issues automatically
- Meeting management — turn meeting invite emails into Google Calendar events
- Team alerting — forward feedback / support / urgent emails to Slack channels
- Smart replies — draft and send Gmail replies via natural-language commands
- Daily email digest — get a summarized brief of your inbox at 09:00 and 17:00
- Multi-app workflows — orchestrate Gmail with Slack, Notion, Calendar, Linear, and HubSpot from one skill
Gmail automation, email automation, AI email assistant, smart inbox, mail rules, email triage, inbox zero, Gmail rules, email digest, email-to-Slack, email-to-Notion, email-to-Calendar, email-to-Linear, email-to-HubSpot, email workflow, productivity skill, OpenClaw skill, MailClaw.