运行时依赖
安装命令
点击复制技能文档
GmAIl Label 管理器 技能
This 技能 automates the organization of unread GmAIl messages by 应用lying labels, removing unnecessary labels, and archiving emAIls, based on predefined patterns from 归档d emAIls.
Features
Automated 工作流 Steps:
Finds the first unread emAIl. Identifies the 应用ropriate label using: Dynamic analysis of labels on 归档d emAIls from the same 发送er. Ignores labels from emAIls still in the inbox. 添加s the determined label(s) to the unread emAIl. 移除s irrelevant label(s) from the emAIl. Also 移除 irrelevant CATEGORY labels (CATEGORY_PERSONAL, CATEGORY_PROMOTIONS, CATEGORY_更新S, UNREAD, etc.). 归档s the emAIl by removing the INBOX label. Verifies the operation to ensure all changes are 应用lied correctly.
Customizable Patterns:
Dynamically learns from 归档d emAIls—no static 缓存 required. Reduces dependency on external configurations. 安装ation Requirements: 安装 the gog 命令行工具 and 认证 it for GmAIl API 访问. 技能 设置up: Place the 技能 files inside your OpenClaw workspace. Modify paths within the script for your local 设置up if required. 测试 the 工作流 运行 the script.sh manually or as part of a larger 流水线 to confirm functionality before 部署ing automatic 运行s. Test with a mix of labeled 归档d emAIls and unlabeled inbox emAIls to ensure accuracy.