Filter Gmails Example — AI skill for Claude Code
AI-powered Gmail inbox organizer that automatically labels your emails based on custom prompts.
How to install Filter Gmails Example
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ComposioHQ/filter-gmails-example and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Filter Gmails Example does
AI-powered Gmail inbox organizer that automatically labels your emails based on custom prompts.
Alternatives in AI
- Pingcrm — Personal Networking CRM — AI-powered, open-source, self-hostable 115 ★
- Afu LLM Todo — Afu · LLM Todo: turn an Obsidian inbox into a living wiki, then into todo cards for this week 86 ★
- PrivAiTe — Self-hosted PII redaction proxy for LLM APIs and agent CLIs 46 ★
README
Gmail Reaper - Composio SDK Example
AI-powered Gmail automation using [Composio SDK](https://composio.dev). Automatically label emails based on custom prompts.
Tech Stack
- Frontend: Next.js 15, React 19, TypeScript, Tailwind CSS
- Backend: Python/FastAPI, OpenAI Agents SDK
- Database: Supabase (PostgreSQL with RLS)
- AI Integration: Composio SDK for Gmail tools
What You'll Learn
- Authenticate and use Gmail tools via Composio SDK
- Implement OAuth flows with connection tracking
- Build AI agents that interact with authenticated APIs
- Set up real-time triggers for email processing
Prerequisites
**System Requirements**
**API Keys & Accounts**
- Composio API Key: Get it from app.composio.dev/developers
- Supabase Project: Create at supabase.com
- Anthropic API Key: For Claude models (or use OpenAI/other LLMs)
Environment Variables
Backend (.env)
COMPOSIO_API_KEY= # From app.composio.dev/developers
SUPABASE_URL= # Your Supabase project URL
SUPABASE_SERVICE_KEY= # Service role key (not anon key!)
GMAIL_AUTH_CONFIG_ID= # From Composio Gmail integration
ANTHROPIC_API_KEY= # Your LLM provider key
Frontend (.env.local)
NEXT_PUBLIC_API_URL=http://localhost:8000
NEXT_PUBLIC_SUPABASE_URL= # Same as backend SUPABASE_URL
NEXT_PUBLIC_SUPABASE_ANON_KEY= # Anon key (not service key!)
NEXT_PUBLIC_ENABLE_CONNECTION_MODAL=true
Quick Start
1. Clone & Setup Database
git clone https://github.com/composiohq/demos
cd demos/gmail-labeller
Set up your Supabase database by following the instructions in [apps/SUPABASE_SETUP.md](apps/SUPABASE_SETUP.md)
2. Get Your API Keys
- Composio API Key
- Go
Related Skills
Support Inbox Agent
AI support inbox agent built on the Claude Agent SDK: auto-answers how-to emails with cited help articles, rou
Koda Scout
Koda Scout — the AI intake scout for Claude Design. Browses your Gmail inbox, extracts client briefs, and hand
Agent AI
•Built an AI Agent using Make.com to automatically read and reply to Gmail emails. •Connected the agent to Ant
Jira Watcher Agent
AI-powered JIRA planner, organizer, and triage CLI. Fetch tickets assigned to you, get an LLM-generated digest
Extension Facts
Nutrition labels for AI agent extensions: skills, MCP servers, instructions and custom agents. Show lift or dr
Local Secure Prompt Agent
Browser extension that redacts PII (emails, phone numbers, Aadhaar/PAN, API keys, names, locations) from promp
Related Agents
Google Workspace
MUST BE USED PROACTIVELY for any tasks involving Gmail, Google Calendar, Google Tasks, or Google Docs. This ag
Email Classifier
Classify a chunk of Gmail emails into Action Required, Waiting On, or Reference categories. Used by gmail-labe
Alert Scout
Reads the user's job-alert emails in Gmail (/job-alerts), records them in profile/job_alerts/alerts.json and r