All skills
googleworkspace avatar

/recipe-forward-labeled-emails

@705fb0e
by Google Workspacegoogleworkspace/cli31k stars
1,856

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

Use this Skill: https://skilld.dev/gh/googleworkspace/cli/recipe-forward-labeled-emails

This session only. Nothing lands on disk.

SKILL.md

≈27 tokens always: the name and description. ≈150 when used: this file.

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

Source: SKILL.md on GitHub

2 warnings16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill describes a recipe to forward specific labeled Gmail messages using the Google Workspace CLI tool. It introduces an indirect prompt injection surface because it reads external untrusted content (emails) and passes it into a communication capability (sending emails) without delimiters or validation.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: MEDIUM · 1 issue

  • Runlayer7mo

    1/1 file flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 705fb0e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Activeupdated 6 months ago
Other metadata
metadata
{
  "version": "0.22.5",
  "openclaw": {
    "category": "recipe",
    "domain": "productivity",
    "requires": {
      "bins": [
        "gws"
      ],
      "skills": [
        "gws-gmail"
      ]
    }
  }
}

README badge

README badge for googleworkspace/cli/recipe-forward-labeled-emails