Block 1 - SYSTEM OVERVIEW
- Type / Role
- n8n-nodes-base.stickyNote - stickyNote
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
Sync Gmail emails to PostgreSQL with S3 attachment storage Automated Gmail Email Processing System Who's it for Businesses and individuals who need to: Archive email communications in a searchable ...
n8n-nodes-base.stickynote, n8n-nodes-base.splitinbatches, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.merge, n8n-nodes-base.aggregate, n8n-nodes-base.postgres, n8n-nodes-base.filter
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Jose Cuartas.
Original n8n.io sourceAutomated Gmail Email Processing System
Businesses and individuals who need to:
This workflow automatically captures, processes, and stores Gmail emails in a PostgreSQL database while uploading file attachments to S3/MinIO storage. It handles both individual emails (via Gmail Trigger) and bulk processing (via Schedule Trigger).
Key features:
Credentials needed:
Database setup: Run the provided SQL schema to create the messages table with JSONB fields for flexible data storage.
Note: This workflow processes emails from the last hour to avoid overwhelming the system. Adjust timeframes based on your email volume and processing needs.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 30 workflow blocks. Download the JSON for the full node graph.
| Workflow | Sync Gmail emails to PostgreSQL with S3 attachment storage |
|---|---|
| Complexity | advanced |
| Nodes | 30 |
| Categories | Document Extraction |
| Author | Jose Cuartas |
| Published | 23 Sept 2025 |
Use the JSON export at /data/workflows/8871/8871.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Sync Gmail emails to PostgreSQL with S3 attachment storage Automated Gmail Email Processing System Who's it for Businesses and individuals who need to: Archive email communications in a searchable ...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction use case.