Agent skill

recipe-forward-labeled-emails

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

Stars 24,434
Forks 1,240

Install this agent skill to your Project

npx add-skill https://github.com/googleworkspace/cli/tree/main/skills/recipe-forward-labeled-emails

Metadata

Additional technical details for this skill

version
0.22.5
openclaw
{
    "domain": "productivity",
    "category": "recipe",
    "requires": {
        "bins": [
            "gws"
        ],
        "skills": [
            "gws-gmail"
        ]
    }
}

SKILL.md

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]'`

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results