Home / Skills / googleworkspace/cli

recipe-forward-labeled-emails

Find Gmail messages with a specific label and forward them to another address.

skillLicense: Apache-2.0 Source: googleworkspace/cli

Install

Copy this folder into your Claude Code project (needs Node.js):

npx degit googleworkspace/cli/skills/recipe-forward-labeled-emails .claude/skills/recipe-forward-labeled-emails

Or install it for every project:

npx degit googleworkspace/cli/skills/recipe-forward-labeled-emails ~/.claude/skills/recipe-forward-labeled-emails

File content

Made by its original authors and shared under Apache-2.0. We show it unchanged, with credit and a link to the source. Source ↗

---
name: recipe-forward-labeled-emails
description: "Find Gmail messages with a specific label and forward them to another address."
metadata:
  version: 0.22.5
  openclaw:
    category: "recipe"
    domain: "productivity"
    requires:
      bins:
        - gws
      skills:
        - gws-gmail
---

# Forward Labeled Gmail Messages

> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-gmail`

Find Gmail messages with a specific label and forward them to another address.

## Steps

1. Find labeled messages: `gws gmail users messages list --params '{"userId": "me", "q": "label:needs-review"}' --format table`
2. Get message content: `gws gmail users messages get --params '{"userId": "me", "id": "MSG_ID"}'`
3. Forward via new email: `gws gmail +send --to manager@company.com --subject 'FW: [Original Subject]' --body 'Forwarding for your review:

[Original Message Body]'`