Find Gmail messages with a specific label and forward them to another address.
The 'recipe-forward-labeled-emails' skill automates the process of finding Gmail messages that are labeled with a specific tag and forwarding them to another email address. This is particularly useful for managing and reviewing emails that require attention or action, such as those labeled 'needs-review'. By automating this process, users can save time and reduce manual email management tasks, ensuring that critical messages are forwarded to the right person without the need for constant oversight.
This skill allows users to streamline the handling of labeled emails in Gmail. It integrates with Google Workspace (GWS) to search for messages using a specified label and retrieve their content. Once the relevant emails are identified, the skill forwards them to a designated recipient with minimal effort. The process involves three main steps: querying Gmail for labeled messages, retrieving the full content of those messages, and forwarding them with a custom subject and body. This automation significantly reduces the overhead of email management and enhances productivity.
The 'recipe-forward-labeled-emails' skill is ideal for professionals, project managers, or teams who need to process and forward emails based on specific labels quickly. It is especially useful for workflows where emails with certain labels, such as 'needs-review' or 'urgent', need to be routed automatically to specific individuals or teams. The skill is designed for use by those who rely heavily on email communication and need to ensure that important messages are directed to the right person for timely action.
To use this skill, you must first load the 'gws-gmail' skill. After that, you can execute the recipe to find Gmail messages with a specific label and forward them.
The skill requires the 'gws-gmail' skill to be loaded and the 'gws' bin to be available for execution. Additionally, a valid Gmail account is needed for the operations.
Yes, you can modify the query in the first step to search for any label in your Gmail account. In the example provided, the 'needs-review' label is used, but it can be adjusted to any label you choose.
The skill does not specify a limit on the number of emails that can be processed at once. However, practical limits may apply based on Gmail's API rate limits and your account's configuration.
The skill allows you to specify the email address where the emails will be forwarded. In the example, emails are forwarded to '[email protected]', but you can change this to any valid email address.
Quick Setup:
.claude/skills/Repository
googleworkspace/cli