n8n Email to Nextcloud: Save Attachments & Mark Read
n8n Email to Nextcloud: Save Attachments & Mark Read
Regular price
£28.99
Regular price
£28.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
⚡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
n8n Email to Nextcloud: Save Attachments & Mark Read
Regular price
£28.99
Regular price
£28.99
Sale price
Unit price
/
per
Automatically move email attachments to Nextcloud—and keep your inbox clean
This n8n workflow watches a specific email folder, uploads every attachment to Nextcloud, and then marks the processed emails as read (configurable). Just drop emails into the watched folder and let the workflow handle the rest.
What this workflow does
- Monitors a target email folder in your account.
- Processes all matching emails, based on configurable custom filters.
- Uploads each attachment to Nextcloud (with auto-generated filenames).
- Marks emails as read after successfully saving attachments (configurable).
- Names saved files like:
2021-01-01_From-Sender-Name_Filename-of-attachement.pdf
Custom filter examples include:
- Only unread emails:
Custom Email Config=["UNSEEN"] - Filter by recipient:
Custom Email Config=[["TO", "example+invoices@posteo.de"]]
Use cases
- Centralize attachments from invoices, receipts, or documents directly into your Nextcloud storage.
- Inbox hygiene for shared service accounts—process messages in bulk and automatically mark them as read.
- Targeted capture of emails sent to specific “invoices” or “support” addresses using IMAP-style filters.
Technical details
- n8n nodes / tech stack: function, next cloud, email read imap
- Requires lodash support for the workflow execution:
NODE_FUNCTION_ALLOW_EXTERNAL=lodash
- Setup steps: import the workflow, configure credentials for the Email and Nextcloud nodes, select the correct folder, and adjust custom filters as needed.
- Once activated, the workflow runs continuously on the configured email folder and saves attachments into Nextcloud.
