Skillshub recipe-email-drive-link
Share a Google Drive file and email the link with a message to recipients.
install
source · Clone the upstream repo
git clone https://github.com/ComeOnOliver/skillshub
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ComeOnOliver/skillshub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/googleworkspace/cli/recipe-email-drive-link" ~/.claude/skills/comeonoliver-skillshub-recipe-email-drive-link && rm -rf "$T"
manifest:
skills/googleworkspace/cli/recipe-email-drive-link/SKILL.mdsource content
Email a Google Drive File Link
PREREQUISITE: Load the following skills to execute this recipe:
,gws-drivegws-gmail
Share a Google Drive file and email the link with a message to recipients.
Steps
- Find the file:
gws drive files list --params '{"q": "name = '\''Quarterly Report'\''"}' - Share the file:
gws drive permissions create --params '{"fileId": "FILE_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "client@example.com"}' - Email the link:
gws gmail +send --to client@example.com --subject 'Quarterly Report' --body 'Hi, please find the report here: https://docs.google.com/document/d/FILE_ID'