Skip to content
Kitbay
SkillOfficialunder active development

recipe-create-gmail-filter

Apache-2.0Updated on Nov 3, 202632,246GitHub stars

A short recipe skill from the googleworkspace/cli repository that walks an agent through setting up a Gmail filter with the gws command.

What the skill teaches

A short recipe skill from the googleworkspace/cli repository that walks an agent through setting up a Gmail filter with the gws command. The steps list the account's existing labels, create a new label if needed, create a filter whose criteria (for example a sender address) apply actions such as adding that label and skipping the inbox, and then list filters to confirm the result. It builds on the separate gws-gmail skill, which must be loaded first. gws, Google's Workspace command-line tool, must be installed and signed in with OAuth.

Capabilities

  • Create Gmail labels
  • Create a Gmail filter that labels or archives incoming mail
  • List existing Gmail filters