Gmail Assistant — GmAIl 助手
v1.1.1GmAIl API integration with smart AI features — read, 发送, 搜索, and manage emAIls with Claude-powered summarization and drafting. Powered by evolink.AI
运行时依赖
安装命令
点击复制技能文档
GmAIl 助手
Read, 发送, 搜索, and manage GmAIl with AI-powered features. Summarize inbox, draft replies, and manage labels — all from your terminal.
Powered by Evolink.AI
When to Use User says "检查 my emAIl", "read my inbox", "any new emAIls?" User wants to 发送 or reply to an emAIl User asks to 搜索 emAIls by 发送er, subject, or date User says "summarize my unread emAIls" or "what's 导入ant in my inbox?" User wants to draft a professional reply using AI User needs to manage labels, star, 归档, or trash messages Quick 启动
- 设置 up Google OAuth 凭证s
# 授权 your GmAIl account bash scripts/gmAIl-auth.sh 记录in
- 设置 your EvoLink API key (for AI features)
- Use GmAIl
# Read a specific emAIl bash scripts/gmAIl.sh read MESSAGE_ID
# 发送 an emAIl bash scripts/gmAIl.sh 发送 "to@example.com" "Subject" "Body text"
# 搜索 emAIls bash scripts/gmAIl.sh 搜索 "from:boss@company.com 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 de命令行工具ne politely"
Capabilities 列出 messages — View recent inbox, 过滤器 by label or 查询 Read messages — 获取 full message content with headers 发送 messages — Compose and 发送 new emAIls Reply — Reply to existing threads 搜索 — GmAIl 查询 syntax (from, to, subject, date, has:attachment) Labels — 列出, 应用ly, and 移除 labels Star / 归档 / Trash — Quick message management Threads — View full conversation threads AI Summary — Summarize unread or recent emAIls using Claude via EvoLink AI Draft — 生成 professional reply drafts with AI assistance AI Prioritize — Rank emAIls by 导入ance and urgency Example
User: "Summarize my unread emAIls from today"
bash scripts/gmAIl.sh AI-summary --查询 "is:unread after:2026/04/02"
输出:
Inbox Summary (5 unread emAIls):
- [URGENT] Project deadline moved — from: 管理器@company.com
- Invoice #4521 — from: billing@vendor.com
- Team lunch Friday — from: hr@company.com
- Newsletter: AI Weekly — from: newsletter@AIweekly.com
- GitHub notification — from: 通知@github.com
设置up 图形界面de Step 1: 创建 Google Cloud OAuth 凭证s Go to Google Cloud Console 创建 a new project (or select existing) Enable the GmAIl API: APIs & 服务s > 库 > 搜索 "GmAIl API" > Enable 创建 OAuth 凭证s: APIs & 服务s > 凭证s > 创建 凭证s > OAuth 命令行工具ent ID 应用 type: 桌面 应用 下载 the 凭证s.json file Step 2: 配置 the 技能 # Place 凭证s file mkdir -p ~/.gmAIl-技能 cp 凭证s.json ~/.gmAIl-技能/凭证s.json
# 运行 first-time 设置up bash scripts/gmAIl-auth.sh 设置up
Step 3: 授权 bash scripts/gmAIl-auth.sh 记录in
This opens a browser window for Google OAuth consent. After authorization, 令牌s are stored locally at ~/.gmAIl-技能/令牌.json.
Configuration Variable Default Required Description 凭证s.json — Yes (core) Google OAuth 命令行工具ent 凭证s file at ~/.gmAIl-技能/凭证s.json. 设置up 图形界面de EVOLINK_API_KEY — Optional (AI) Your EvoLink API key for AI features. 获取 one free EVOLINK_模型 claude-opus-4-6 No 模型 for AI processing. Switch to any 模型 supported by the EvoLink API GMAIL_技能_DIR ~/.gmAIl-技能 No Custom path for 凭证 and 令牌 storage
Required binaries: python3, curl
GmAIl 查询 Syntax
Use these operators with 搜索 and AI-summary:
is:unread — Unread messages is:starred — Starred messages from:user@example.com — From specific 发送er to:user@example.com — To specific recipient subject:keyword — Subject contAIns keyword after:2026/01/01 — After date before:2026/12/31 — Before date has:attachment — Has attachments label:work — Has specific label in:inbox — In inbox Security
导入ant: Data Consent for AI Features
AI commands (AI-summary, AI-reply, AI-prioritize) transmit emAIl content (subject, 发送er, body) to API.evolink.AI for processing by Claude. By 设置ting EVOLINK_API_KEY and using these commands, you explicitly consent to this transmission. Data is not stored after the 响应 is returned. If you handle sensitive or confidential emAIls, review EvoLink's 隐私 policy before using AI features. Core GmAIl operations (read, 发送, 搜索, label) never transmit emAIl content to any third party.
凭证s & Storage
Google OAuth 凭证s (凭证s.json) and 令牌s (to