
Recipe Email Drive Link
A straightforward workflow for sharing Google Drive files via email without the usual copy-paste dance. It searches for your file by name, sets the sharing permissions for specific recipients, then fires off an email with the shareable link embedded in your message. Perfect for client deliverables, team collaboration, or any scenario where you're regularly sharing documents with external users. The recipe handles the tedious permission management automatically, though you'll want to customize the email templates for your specific use case. Saves you from juggling between Drive and Gmail tabs, especially when you're doing bulk file sharing.
- skills.sh installs
- 32.1K
- GitHub stars
- 32.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add googleworkspace/cli --skill recipe-email-drive-link --agent claude-codeInstalls into .claude/skills of the current project.
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
- 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'
Sponsors
Details
- Repository
- github.com/googleworkspace/cli
- Category
- CLI & Terminal
More from googleworkspace/cli
All 113- Gws Events32.1K
- Persona Researcher32K
- Recipe Create Gmail Filter32K
- Recipe Save Email Attachments31.8K
- Recipe Backup Sheet As Csv31.7K
- Recipe Organize Drive Folder31.7K
- Persona Exec Assistant31.6K
- Recipe Find Free Time31.5K
- Gws Workflow File Announce31.5K
- Recipe Compare Sheet Tabs31.5K
- Persona Content Creator31.5K
- Gws Events Renew31.5K
- Gws Events Subscribe31.4K
- Recipe Plan Weekly Schedule31.4K
- Recipe Bulk Download Folder31.4K
- Recipe Create Doc From Template31.4K
- Recipe Sync Contacts To Sheet31.3K
- Gws Admin Reports31.3K
- Recipe Generate Report From Sheet31.2K
- Recipe Label And Archive Emails31.1K
- Recipe Reschedule Meeting31.1K
- Recipe Save Email To Doc31.1K
- Recipe Block Focus Time31K
- Recipe Watch Drive Changes31K