# Recipe Email Drive Link > Share a Google Drive file and email the link with a message to recipients. Source: https://skillsagentes.com/skills/googleworkspace/cli/recipe-email-drive-link Repository: https://github.com/googleworkspace/cli Author: googleworkspace License: Apache-2.0 Updated: hace 4 meses Context cost: 19 tok installed, 241 tok once triggered, 241 tok with every bundled file Bundle: 1 file, 963 B Permissions requested: none declared ## Install ```bash npx -y skills add googleworkspace/cli --skill recipe-email-drive-link --agent claude-code ``` ## What it does - Busca un archivo en Google Drive con `gws drive files list` - Comparte el archivo creando un permiso con `gws drive permissions create` - Envía un correo con el enlace usando `gws gmail +send` ## Use it when - Se necesita compartir un archivo de Drive y notificar por email a un destinatario en un solo flujo ## What triggers it - "Comparte el informe trimestral de Drive con client@example.com y avísale por correo" - "Busca el archivo 'Quarterly Report', dale acceso de lector a un cliente y envíale el enlace por Gmail" ## Before you install - Requiere el binario `gws` y cargar las skills `gws-drive` y `gws-gmail`. ## Files - SKILL.md — 963 B ## SKILL.md Reproduced verbatim from googleworkspace/cli under Apache-2.0. This section is the upstream document and is in English. # 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'` --- Skills Agentes — https://skillsagentes.com/skills/googleworkspace/cli/recipe-email-drive-link