Skip to content
Kitbay
SkillOfficialunder active development

recipe-label-and-archive-emails

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

A recipe skill from the googleworkspace/cli repository for tidying a Gmail inbox with the gws command.

What the skill teaches

A recipe skill from the googleworkspace/cli repository for tidying a Gmail inbox with the gws command. The agent searches for messages matching a query such as a sender address, adds a chosen label to each match, and then removes the inbox label so the messages are archived but still findable under the new label. It is a three-step guide that needs the gws-gmail skill loaded first. gws, Google's Workspace command-line tool, must be installed and signed in with OAuth.

Capabilities

  • Search Gmail with a query
  • Apply labels to matching messages
  • Archive messages out of the inbox