Skip to content
Kitbay
SkillOfficialunder active development

recipe-save-email-attachments

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

A recipe skill from the googleworkspace/cli repository for moving email attachments into Google Drive with the gws command.

What the skill teaches

A recipe skill from the googleworkspace/cli repository for moving email attachments into Google Drive with the gws command. The agent searches Gmail for messages that have attachments (optionally from a given sender), reads a message to find its attachment ids, downloads each attachment, and uploads the file to a chosen Drive folder with the gws Drive upload helper. It is a four-step guide that expects the gws-gmail and gws-drive skills to be loaded. gws, Google's Workspace command-line tool, must be installed and signed in with OAuth.

Capabilities

  • Find Gmail messages with attachments
  • Download a message attachment
  • Upload the file to a Google Drive folder