# Gws Workflow Email To Task

Google Workflow: Convert a Gmail message into a Google Tasks entry.

- Repository: https://github.com/googleworkspace/cli (32044 stars)
- Category: Engineering
- License: Apache-2.0
- Last updated: 2026-10-30
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add googleworkspace/cli --skill gws-workflow-email-to-task -g -a claude-code -y`
Codex: `npx skills add googleworkspace/cli --skill gws-workflow-email-to-task -g -a codex -y`
Cursor: `npx skills add googleworkspace/cli --skill gws-workflow-email-to-task -g -a cursor -y`
Gemini CLI: `npx skills add googleworkspace/cli --skill gws-workflow-email-to-task -g -a gemini-cli -y`

## Description

Google Workflow: Convert a Gmail message into a Google Tasks entry.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# workflow +email-to-task

> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.

Convert a Gmail message into a Google Tasks entry

## Usage

```bash
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

```bash
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](../gws-shared/SKILL.md), Global flags and auth
- [gws-workflow](../gws-workflow/SKILL.md), All cross-service productivity workflows commands

