Agent Skills
› googleworkspace/cli
› gws-workflow-email-to-task
gws-workflow-email-to-task
GitHub将Gmail邮件转换为Google Tasks任务,提取主题和摘要作为标题与备注。支持指定任务列表,执行前需确认。
触发场景
用户希望将邮件内容转为待办事项
需要自动化处理邮件生成任务
安装
npx skills add googleworkspace/cli --skill gws-workflow-email-to-task -g -y
SKILL.md
Frontmatter
{
"name": "gws-workflow-email-to-task",
"metadata": {
"version": "0.22.5",
"openclaw": {
"cliHelp": "gws workflow +email-to-task --help",
"category": "productivity",
"requires": {
"bins": [
"gws"
]
}
}
},
"description": "Google Workflow: Convert a Gmail message into a Google Tasks entry."
}
workflow +email-to-task
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Convert a Gmail message into a Google Tasks entry
Usage
gws workflow +email-to-task --message-id <ID>
Flags
| Flag | Required | Default | Description |
|---|---|---|---|
--message-id |
✓ | — | Gmail message ID to convert |
--tasklist |
— | @default | Task list ID (default: @default) |
Examples
gws workflow +email-to-task --message-id MSG_ID
gws workflow +email-to-task --message-id MSG_ID --tasklist LIST_ID
Tips
- Reads the email subject as the task title and snippet as notes.
- Creates a new task — confirm with the user before executing.
See Also
- gws-shared — Global flags and auth
- gws-workflow — All cross-service productivity workflows commands
版本历史
- a3768d0 当前 2026-08-20 07:25


