Agent Skills
› googleworkspace/cli
› gws-workflow-email-to-task
gws-workflow-email-to-task
GitHub将 Gmail 邮件转换为 Google Tasks 任务条目。支持指定邮件 ID 和任务列表,自动提取主题作为标题、摘要作为备注,并在执行前提示用户确认。
Trigger Scenarios
需要将邮件转化为待办事项
从 Gmail 创建 Google Tasks
Install
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
Version History
- a3768d0 Current 2026-08-20 07:25


