Gmail Cleanup and Batch Processing
detail.loadingPreview
Automates the retrieval of Gmail message IDs, splits them into batches, and deletes them.
About This Workflow
This workflow is designed to efficiently manage your Gmail inbox. It starts by retrieving a list of email message IDs from Gmail, excluding specific types of emails such as chats, unsubscribe messages, and those containing sensitive keywords like 'license', 'key', or 'password'. The retrieved IDs are then split into batches of 100 for more controlled processing. Finally, each batch of message IDs is sent to a Gmail node for deletion.
Key Features
- Selective Gmail Retrieval: Fetches email IDs based on a custom search query.
- Batch Processing: Splits a large number of email IDs into manageable batches for efficient deletion.
- Automated Deletion: Deletes emails in batches, reducing manual effort and potential errors.
How To Use
- Trigger: Manually execute the workflow by clicking the 'execute' button.
- Retrieve Gmail IDs: The
Gmailnode fetches message IDs from your Gmail account based on the specified query (-in:chats unsubscribe -license -key -password). Ensure your Gmail credentials are set up. - Split into Batches: The
SplitInBatchesnode divides the retrieved message IDs into groups of 100. - Delete Emails: The
Delete Old Gmailnode iterates through each batch and deletes the messages using their IDs. ThemessageIdparameter is dynamically set to={{$json["id"]}}, which refers to the ID of each message within the batch.
Apps Used
Workflow JSON
{
"id": "b4dcf768-f121-4f7e-9962-c97840ffe39d",
"name": "Gmail Cleanup and Batch Processing",
"nodes": 9,
"category": "Email Management",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: b4dcf768-f121...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Related Workflows
Discover more workflows you might like
Auto Categorize Outlook Emails with AI
Automates the categorization of incoming Outlook emails using AI, moving them to appropriate folders and applying categories.