skills/gmail/SKILL.md
Gmail API integration with smart AI features — read, send, search, and manage emails with Claude-powered summarization and drafting. Powered by evolink.ai
npx skillsauth add evolinkai/evolink-skills Gmail AssistantInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Read, send, search, and manage Gmail with AI-powered features. Summarize inbox, draft replies, and manage labels — all from your terminal.
Powered by Evolink.ai
# First time only — create OAuth credentials
bash scripts/gmail-auth.sh setup
# Authorize your Gmail account
bash scripts/gmail-auth.sh login
export EVOLINK_API_KEY="your-key-here"
# List recent emails
bash scripts/gmail.sh list
# Read a specific email
bash scripts/gmail.sh read MESSAGE_ID
# Send an email
bash scripts/gmail.sh send "[email protected]" "Subject" "Body text"
# Search emails
bash scripts/gmail.sh search "from:[email protected] is:unread"
# AI: Summarize unread emails
bash scripts/gmail.sh ai-summary
# AI: Draft a reply
bash scripts/gmail.sh ai-reply MESSAGE_ID "Please decline politely"
User: "Summarize my unread emails from today"
bash scripts/gmail.sh ai-summary --query "is:unread after:2026/04/02"
Output:
Inbox Summary (5 unread emails):
1. [URGENT] Project deadline moved — from: [email protected]
The Q2 product launch deadline has been moved from April 15 to April 10.
Action needed: Update sprint plan by tomorrow EOD.
2. Invoice #4521 — from: [email protected]
Monthly SaaS subscription invoice for $299. Due April 15.
Action needed: Approve or forward to finance.
3. Team lunch Friday — from: [email protected]
Team building lunch at 12:30 PM Friday. RSVP requested.
Action needed: Reply with attendance.
4. Newsletter: AI Weekly — from: [email protected]
Low priority. Weekly AI news roundup.
Action needed: None.
5. GitHub notification — from: [email protected]
PR #247 merged to main. CI passed.
Action needed: None.
credentials.json file# Place credentials file
mkdir -p ~/.gmail-skill
cp credentials.json ~/.gmail-skill/credentials.json
# Run first-time setup
bash scripts/gmail-auth.sh setup
bash scripts/gmail-auth.sh login
This opens a browser window for Google OAuth consent. After authorization, tokens are stored locally at ~/.gmail-skill/token.json.
| Variable | Default | Required | Description |
|---|---|---|---|
| credentials.json | — | Yes (core) | Google OAuth client credentials file at ~/.gmail-skill/credentials.json. Setup Guide |
| EVOLINK_API_KEY | — | Optional (AI) | Your EvoLink API key for AI features. Get one free |
| EVOLINK_MODEL | claude-opus-4-6 | No | Model for AI processing. Switch to any model supported by the EvoLink API |
| GMAIL_SKILL_DIR | ~/.gmail-skill | No | Custom path for credential and token storage |
Required binaries: python3, curl
Use these operators with search and ai-summary:
is:unread — Unread messagesis:starred — Starred messagesfrom:[email protected] — From specific senderto:[email protected] — To specific recipientsubject:keyword — Subject contains keywordafter:2026/01/01 — After datebefore:2026/12/31 — Before datehas:attachment — Has attachmentslabel:work — Has specific labelin:inbox — In inboxImportant: Data Consent for AI Features
AI commands (ai-summary, ai-reply, ai-prioritize) transmit email content (subject, sender, body) to api.evolink.ai for processing by Claude. By setting EVOLINK_API_KEY and using these commands, you explicitly consent to this transmission. Data is not stored after the response is returned. If you handle sensitive or confidential emails, review EvoLink's privacy policy before using AI features. Core Gmail operations (read, send, search, label) never transmit email content to any third party.
Credentials & Storage
Google OAuth credentials (credentials.json) and tokens (token.json) are stored locally at ~/.gmail-skill/. Tokens are never transmitted to any third party. The skill accesses Gmail only through Google's official OAuth 2.0 flow and Gmail API endpoints (gmail.googleapis.com).
AI Features (Optional)
When AI features are used (summarize, draft, prioritize), email content is sent to api.evolink.ai for processing by Claude. Data is discarded after the response is returned. No email data is stored by EvoLink. Review EvoLink's privacy policy before using AI features with sensitive emails.
EVOLINK_API_KEY is only required for AI features. Core Gmail operations (read, send, search, label) work without it.
File Access Controls
This skill only reads/writes within ~/.gmail-skill/ for credential and token storage. No other filesystem access is performed.
Required binaries: python3, curl
Network Access
gmail.googleapis.com — Gmail API (core operations)oauth2.googleapis.com — OAuth token managementaccounts.google.com — OAuth consent flowapi.evolink.ai — AI features only (optional)Persistence & Privilege
This skill does not modify other skills or system settings. No elevated or persistent privileges are requested. OAuth tokens can be revoked at any time via bash scripts/gmail-auth.sh revoke or from Google Account Settings.
development
Seedance 2.0 AI video generation via EvoLink API. Three modes — text-to-video, image-to-video (1-2 images), reference-to-video (images + videos + audio). Auto audio (voice, SFX, BGM). Works with OpenClaw, Claude Code, Cursor. Powered by ByteDance Seedance 2.0.
development
AI image generation & editing — GPT Image, GPT-4o, Seedream, Qwen, WAN, Gemini. Text-to-image, image-to-image, inpainting. 19 models, one API key.
development
Read, write, and analyze Google Sheets with AI-powered insights, formula generation, and data summarization. Powered by evolink.ai
development
Read, write, and analyze Google Sheets with AI-powered insights, formula generation, and data summarization. Powered by evolink.ai