googleworkspace/cli

recipe-forward-labeled-emails

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

30K installs 32K stars

Before you install

Last update
Files in folder
1
Scripts
No script files found
SKILL.md size
904 B (about 226 tokens of context each time it loads)
License
Apache-2.0
Source on GitHub
googleworkspace/cli

Skills are plain text instructions the agent follows, sometimes with scripts. Check the source, prefer repositories with many installs and stars, and read any script it ships.

Install

npx skills add googleworkspace/cli@recipe-forward-labeled-emails

Runs in a terminal with Node.js 18 or newer. Add -y to skip the prompts and -g to install for every project instead of this one.

Install for your agent

npx skills add googleworkspace/cli@recipe-forward-labeled-emails --agent claude-code -y
Project install writes to
.claude/skills/recipe-forward-labeled-emails
Global install writes to
~/.claude/skills/recipe-forward-labeled-emails

Start a new session afterwards so the agent picks the skill up. In Claude Code you can also call it directly with /recipe-forward-labeled-emails.

What it does

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": "MSGID"}' 3. Forward via new email: gws gmail +send --to manager@company.com --subject 'FW: [Original Subject]' --body 'Forwarding for your review: [Original Message Body]'

Excerpt from the skill's own SKILL.md. Read the full file on GitHub before installing: skills run with your agent's permissions.

Categories

Related skills

  • gws-gmail

    googleworkspace/cli

    Gmail: Send, read, and manage email.

    81K installs 32KSecurity
  • gws-gmail-send

    googleworkspace/cli

    Gmail: Send an email.

    74K installs 32KSecurity
  • gws-drive

    googleworkspace/cli

    Google Drive: Manage files, folders, and shared drives.

    74K installs 32KSecurity
  • gws-shared

    googleworkspace/cli

    gws CLI: Shared patterns for authentication, global flags, and output formatting.

    65K installs 32KDocumentationDataWriting
  • gws-calendar

    googleworkspace/cli

    Google Calendar: Manage calendars and events.

    60K installs 32KSecurity
  • gws-sheets

    googleworkspace/cli

    Google Sheets: Read and write spreadsheets.

    58K installs 32KSecurityData

← Search skills

/skills/googleworkspace/cli/recipe-forward-labeled-emails/