Skip to content
Skillpedia
Email & messaging32k · #6323

recipe-email-drive-link

Helps your agent share a Google Drive file. It emails the link with a message to recipients.

What it does

This tool sends a link to a Google Drive file via email to anyone you choose. It finds the file, shares it with the right people, and sends the link with a message.

When to use it

  • ✓When you want to share an important document with colleagues.
  • ✓To send a report to a client.
  • ✓When sending a file to a friend or family member.

Example of what to ask your AI

“Send the quarterly report to John.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/googleworkspace/cli/blob/main/skills/recipe-email-drive-link/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/googleworkspace/cli/blob/main/skills/recipe-email-drive-link/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool first looks for the file you want in Google Drive. Then, it allows the people you choose to see the file. Finally, it sends an email with the direct link to that file.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add googleworkspace/cli --skill recipe-email-drive-link

Or download just the file:

curl -L https://raw.githubusercontent.com/googleworkspace/cli/main/skills/recipe-email-drive-link/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Email a Google Drive File Link

PREREQUISITE: Load the following skills to execute this recipe: gws-drive, gws-gmail

Share a Google Drive file and email the link with a message to recipients.

Steps

  1. Find the file: gws drive files list --params '{"q": "name = '\''Quarterly Report'\''"}'
  2. Share the file: gws drive permissions create --params '{"fileId": "FILE_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "client@example.com"}'
  3. 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'
FAQ

Do I need Google Drive and Gmail?

Yes, you need Google Drive to store your files and Gmail to send the emails.

Can I send to multiple people at once?

Yes, you can add multiple email addresses to send the link to everyone.

What happens if the file is not found?

The tool will let you know if it couldn't find the file. Make sure the file name is correct.

Details

Original description by the author

Share a Google Drive file and email the link with a message to recipients.

repo: googleworkspace/cli

Popularity

GitHub stars
32k
Ranking position
#6323
License
Apache-2.0
Updated
10/6/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills