Logo Google Workspace
Agents & OrchestrationSûr100100/100

Recipe Save Email Attachments

Find Gmail messages with attachments and save them to a Google Drive folder.

ou envoie-le directement à ton agent.

Installer dans ton projet

$ npx arboris-cli@latest install recipe-save-email-attachments
Logo Google Workspace
Google Workspace
affaan-m/ECC
Contenu à copier
---
name: recipe-save-email-attachments
description: "Find Gmail messages with attachments and save them to a Google Drive folder."
metadata:
  origin: Google Workspace
  version: 0.22.5
  openclaw:
    category: "recipe"
    domain: "productivity"
    requires:
      bins:
        - gws
      skills:
        - gws-gmail
        - gws-drive
---

# Save Gmail Attachments to Google Drive

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

Find Gmail messages with attachments and save them to a Google Drive folder.

## Steps

1. Search for emails with attachments: `gws gmail users messages list --params '{"userId": "me", "q": "has:attachment from:client@example.com"}' --format table`
2. Get message details: `gws gmail users messages get --params '{"userId": "me", "id": "MESSAGE_ID"}'`
3. Download attachment: `gws gmail users messages attachments get --params '{"userId": "me", "messageId": "MESSAGE_ID", "id": "ATTACHMENT_ID"}'`
4. Upload to Drive folder: `gws drive +upload --file ./attachment.pdf --parent FOLDER_ID`
Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.

Ce que fait Recipe Save Email Attachments

Applique les pratiques du skill recipe-save-email-attachments.

Comment utiliser Recipe Save Email Attachments

1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.

Déclencheurs pour Recipe Save Email Attachments

Dis simplement à ton agent quelque chose comme :

Applique le skill recipe-save-email-attachments à cette tâche
Utilise recipe-save-email-attachments pour améliorer cette implémentation
Passe en revue ce sujet avec recipe-save-email-attachments

Skills liés à Recipe Save Email Attachments