Log in

recipe-forward-labeled-emails

Vercel
All-time installs
27.3K

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

Other options

Summary

Locate Gmail messages by label and automatically forward them to another recipient.

  • Requires the gws-gmail skill as a prerequisite dependency
  • Three-step workflow: search messages by label, retrieve full message content, and forward to a specified email address
  • Supports custom label queries and preserves original subject and body in forwarded messages
  • Designed as a recipe for productivity automation within agent workflows

Raw SKILL.md

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

[Original Message Body]'`

Security audits

SnykPASS
SocketPASS
Gen Agent Trust HubPASS