Methodologygeneric
gws-workflow-email-to-task
Google Workflow: Convert a Gmail message into a Google Tasks entry.
googleworkspace/cli
Install
Use with your agent
Install the gws-workflow-email-to-task skill, then use it as build context. Run: npx skills add https://github.com/googleworkspace/cli --skill gws-workflow-email-to-task. Then read the installed skill.md and follow its guidance to build or refactor my project.
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