by System Admin
Tagged with: , , , ,
by System Admin
Tagged with: , , , ,
by Tejas Ambalia
Scheduled Gmail Cleanup – Auto-Delete Spam, Promotions, Social & Trash to save the Gmail space and time Managing Gmail manually can be tedious and time-consuming. Spam, Promotions, Social, and Trash folders quickly fill up with unwanted emails, taking up valuable storage and creating clutter. This workflow provides a simple yet powerful Gmail automation for efficient email management, helping you maintain a cleaner inbox with zero daily effort. This workflow is triggered by a Schedule node that runs once per day (customizable). It then uses multiple Gmail nodes to: Fetch Spam Emails – Identify all emails in the Spam folder. Fetch Promotions Emails – Collect promotional messages from Gmail’s Promotions category. Fetch Social Emails – Pull emails from the Social tab. Fetch Trash Emails – Find all items already marked as trash. Delete Fetched Emails – Automatically delete the emails retrieved from these categories. By default, the workflow deletes the selected emails permanently. Once removed, they are not recoverable. Key Benefits Automatically deletes junk, spam, and promotional emails daily Keeps Gmail storage under control and prevents hitting Google’s limits Saves time by eliminating manual cleanup tasks Helps you achieve and maintain Inbox Zero Simple “set and forget” automation — once activated, it runs in the background How to Use Import this workflow into your n8n account. Connect your Gmail account using Gmail OAuth2 credentials. Open each Gmail node and select your Gmail credential. Adjust the Schedule Trigger if you want to run it more or less frequently (default: once per day). Save and activate the workflow. Once set up, your Gmail inbox will automatically stay clean and organized every day. Who Is This For? Professionals who want to focus only on important emails Productivity enthusiasts striving for Inbox Zero Users approaching Gmail’s 15GB storage limit Teams managing shared inboxes with heavy email flow Customising this workflow Schedule**: Adjust the Schedule Trigger to run hourly, daily, or weekly. Categories**: Remove nodes for folders you want to keep, or add filters to only delete emails older than a certain number of days. Deletion Settings**: Modify the Gmail Delete node to move emails to Trash instead of permanent deletion if you prefer a safer cleanup.
by System Admin
Tagged with: , , , ,
by System Admin
Tagged with: , , , ,
by System Admin
Tagged with: , , , ,
by Oneclick AI Squad
This automated n8n workflow uses the Gmail API to clean the spam folder by permanently deleting all emails on the first day of each month. The system ensures efficient email management and improves Gmail storage by removing unwanted spam emails. Good to Know Gmail API rate limits should be respected to ensure proper email fetching A short delay is introduced to avoid hitting API limits The workflow runs automatically on the first day of every month Improves Gmail hygiene by removing spam emails How It Works Monthly Trigger (1st Day)** - Starts the workflow automatically on the first of every month to perform email cleanup Fetch Gmail Emails** - Uses Gmail API to retrieve all emails in the spam folder for the Gmail account Pause Before Deletion (5s)** - Introduces a short delay to avoid hitting Gmail's API rate limits and ensure all emails are fetched properly Delete Fetched SPAM Emails** - Permanently deletes all retrieved emails from the spam folder to free up Gmail space and improve email hygiene How to Use Import the workflow into n8n Configure Gmail API credentials for access Test the workflow on a sample date to verify email fetching and deletion Adjust the pause duration if needed based on API limits Monitor the workflow to ensure proper spam cleanup Requirements Gmail API credentials Customizing This Workflow Adjust the pause duration in the Pause node to align with Gmail API rate limits Modify the trigger schedule if a different cleanup frequency is preferred
by System Admin
Tagged with: , , , ,
by System Admin
Tagged with: , , , ,
by System Admin
Tagged with: , , , ,
by System Admin
Tagged with: , , , ,
by System Admin
Tagged with: , , , ,