Recipe Forward Labeled Emails

by googleworkspacea3768d0e82adNo license31K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated yesterday

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

AI-generated overview

Finds Gmail messages carrying a specific label and forwards them to another email address.

What it does
This recipe describes a three-step Gmail workflow: list messages matching a label query, retrieve the content of a chosen message, and send it onward as a forwarded email to a specified recipient. It produces forwarded email messages rather than files or reports. The steps are given as gws command-line invocations.
When to use it
Use it when messages in a Gmail account are tagged with a label and need to be passed along to someone else, such as a manager or reviewer. It suits recurring hand-offs of labeled mail that would otherwise be forwarded by hand.
Requirements
Requires the gws command-line tool and the gws-gmail skill, plus authenticated access to the relevant Gmail account and network access to Gmail. No scripts ship with the skill; it is instructions only.

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 [email protected] --subject 'FW: [Original Subject]' --body 'Forwarding for your review:

[Original Message Body]'`

Source and attribution

Source:googleworkspace/cliinskills/recipe-forward-labeled-emailsat commita3768d0

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal