# Gmail + Google Drive

Email new Google Drive file notices through Gmail, or save Gmail attachments in Drive with public-link sharing and optional Telegram alerts.

## Choose file notices or attachment collection

Send metadata about new Drive files to a fixed email recipient, or upload incoming attachments into sender/date folders. Both attachment recipes make uploaded files readable by anyone with the link; one also connects Telegram.

- [Email new Google Drive files with Gmail](https://www.fasthook.io/templates/google-drive-new-files-to-gmail.md): Email file name, MIME type, creation time and Drive URL to a fixed recipient. Keep the file in Drive with its existing access; no attachment or sharing action is included.
- [Save Gmail attachments to Google Drive](https://www.fasthook.io/templates/gmail-attachments-to-drive.md): Upload each new non-inline attachment to Gmail attachments/\{sender folder\}/\{received date\}, then grant anyone-with-link reader access. Review the sharing step before using it for private files.
- [Gmail attachments to Drive and Telegram](https://www.fasthook.io/templates/gmail-attachments-to-drive-telegram.md): Upload attachments to sender/date folders under fasthook\_public\_attachments, grant anyone-with-link reader access and send each file's viewing URL to Telegram. Requires a Telegram connection too.

## Choose the file flow and review access

1. **Select the source** For file notices, connect Drive and choose a folder to watch. For attachments, connect the receiving Gmail mailbox and review search and label filters so the intended non-inline Inbox attachments are selected.
2. **Review the destination and sharing** File notices need a sending Gmail account and fixed recipient. Attachment recipes need Drive and explicitly grant anyone/reader access; change that design before activation if files must stay private. For chat notices, also connect Telegram and select a Chat Id.
3. **Check a fictional file or attachment** Activate after reviewing access, then create a new file in the watched folder or receive a test attachment. Inspect the email, upload and permission, and Telegram link where applicable. Confirm source access separately.

## Questions about Gmail and Drive file workflows

### Which workflows make files readable by anyone with the link?

Both Gmail attachment recipes explicitly grant anyone/reader access after upload. A private parent folder or Telegram chat does not restrict that file permission. Review, change or remove public-link sharing before activation if needed. The Drive-to-Gmail notification recipe changes no sharing permissions.

### Does the email notification attach the Drive file?

No. It sends a plain-text notice with file name, MIME type, creation timestamp and Drive URL to your fixed recipient through the connected Gmail account. The recipient still needs existing Drive access. A selected source folder covers direct children only; leaving it blank watches the connected Drive.

### How are Gmail attachments organized and announced?

The Drive-only recipe uses Gmail attachments/\{sender folder\}/\{received date\}. The Telegram variant uses fasthook\_public\_attachments/\{sender folder\}/\{received date\} and sends only the upload's viewing URL to your chat. Each non-inline attachment has its own event, so several attachments can produce several uploads and notices. Inline images and email bodies are not archived.

### What happens if sharing or Telegram fails after upload?

The earlier file upload can remain. If Telegram fails after sharing, the file can already be publicly readable. These workflows have no rollback, automatic permission revocation or existing-file lookup; inspect the file and failed step before rerunning, since another run can upload another copy.

### Will these keep email and Drive files synchronized?

No. New-file notices use creation time rather than later edits or moves; polling may include roughly the minute before setup. Attachment processing can continue pending backlogs across polls but does not mirror later file or email changes. Gmail limits apply to sent notices, and reruns can repeat delivery. Keep incoming attachment folders separate from watched notice folders if you do not want uploads to generate file-notification emails.

## Connected apps

- [Gmail Integrations](https://www.fasthook.io/apps/gmail/integrations.md)
- [Google Drive Integrations](https://www.fasthook.io/apps/google-drive/integrations.md)

## Related app pairs

- [Gmail + Airtable](https://www.fasthook.io/apps/airtable/integrations/gmail.md)
- [Gmail + ClickUp](https://www.fasthook.io/apps/clickup/integrations/gmail.md)
- [Gmail + Dropbox](https://www.fasthook.io/apps/dropbox/integrations/gmail.md)
- [Gmail + Shopify](https://www.fasthook.io/apps/shopify/integrations/gmail.md)
- [Gmail + Slack](https://www.fasthook.io/apps/slack/integrations/gmail.md)
- [Gmail + GitHub](https://www.fasthook.io/apps/github/integrations/gmail.md)
- [Gmail + Google Sheets](https://www.fasthook.io/apps/gmail/integrations/google-sheets.md)
- [Gmail + Google Calendar](https://www.fasthook.io/apps/google-calendar/integrations/gmail.md)
