
Recipe Email Drive Link
- 25.5k installs
- 30k repo stars
- Updated July 22, 2026
- googleworkspace/cli
recipe-email-drive-link is a Google Workspace CLI recipe that shares a Drive file and emails the share link to recipients.
About
This recipe combines Google Drive sharing with Gmail to distribute file links. It finds a file by name, grants reader access to specified email addresses, and sends a notification message with the share link. Developers use it to automate document distribution workflows without manual sharing steps.
- Shares a Drive file and emails the link to recipients in one recipe
- Sets granular permissions (reader, commenter, editor) on shared files
- Embeds the share link directly in the email message
Recipe Email Drive Link by the numbers
- 25,513 all-time installs (skills.sh)
- +819 installs in the week ending Jul 28, 2026 (Skillselion tracking)
- Ranked #35 of 690 Office & Documents skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
recipe-email-drive-link capabilities & compatibility
- Works with
- google drive · gmail
npx skills add https://github.com/googleworkspace/cli --skill recipe-email-drive-linkAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 25.5k |
|---|---|
| repo stars | ★ 30k |
| Security audit | 3 / 3 scanners passed |
| Last updated | July 22, 2026 |
| Repository | googleworkspace/cli ↗ |
How do you email a Google Drive share link?
Automate file sharing and email notification workflows for Drive documents.
Who is it for?
Developers using gws who need to locate a Drive file, grant access, and email the link in one scripted recipe.
Skip if: Bulk permission changes across many files, external recipients requiring advanced DLP policies, or teams without gws-gmail OAuth scopes.
When should I use this skill?
A developer asks to share a Google Drive file and email the link with a message to recipients.
What you get
Drive file share permission, shareable link, and Gmail message delivered to specified recipients
- Drive share link
- Gmail message to recipients
By the numbers
- Combines 2 prerequisite skills: gws-drive and gws-gmail
- Ships with gws CLI metadata version 0.22.5
Files
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'
Related skills
FAQ
Which gws skills must be loaded first?
recipe-email-drive-link requires gws-drive and gws-gmail utility skills before execution. Both Drive search or permission APIs and Gmail send scopes must be authenticated in gws.
How does the recipe locate the target file?
recipe-email-drive-link runs gws drive files list with a name equals query—for example searching for Quarterly Report—then uses the returned fileId for permissions and email steps.
Is Recipe Email Drive Link safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.