$npx -y skills add googleworkspace/cli --skill gws-workflow-email-to-taskGoogle Workflow: Convert a Gmail message into a Google Tasks entry.
| 1 | # workflow +email-to-task |
| 2 | |
| 3 | > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it. |
| 4 | |
| 5 | Convert a Gmail message into a Google Tasks entry |
| 6 | |
| 7 | ## Usage |
| 8 | |
| 9 | ```bash |
| 10 | gws workflow +email-to-task --message-id <ID> |
| 11 | ``` |
| 12 | |
| 13 | ## Flags |
| 14 | |
| 15 | | Flag | Required | Default | Description | |
| 16 | |------|----------|---------|-------------| |
| 17 | | `--message-id` | ✓ | — | Gmail message ID to convert | |
| 18 | | `--tasklist` | — | @default | Task list ID (default: @default) | |
| 19 | |
| 20 | ## Examples |
| 21 | |
| 22 | ```bash |
| 23 | gws workflow +email-to-task --message-id MSG_ID |
| 24 | gws workflow +email-to-task --message-id MSG_ID --tasklist LIST_ID |
| 25 | ``` |
| 26 | |
| 27 | ## Tips |
| 28 | |
| 29 | - Reads the email subject as the task title and snippet as notes. |
| 30 | - Creates a new task — confirm with the user before executing. |
| 31 | |
| 32 | ## See Also |
| 33 | |
| 34 | - [gws-shared](../gws-shared/SKILL.md) — Global flags and auth |
| 35 | - [gws-workflow](../gws-workflow/SKILL.md) — All cross-service productivity workflows commands |