Archive existing Gmail messages with AI
Give selected messages a useful label and take them out of the inbox while keeping them available in the account.
To archive existing Gmail messages with AI, give recipe-label-and-archive-emails the search that identifies them and the label you already use for filing. The agent can add that label to each selected message and remove its inbox label. Processed receipts are one practical example because you may need them again without needing to act on them today.
Check the match set before changing it. The sender that issues invoices may also send payment queries that should stay in sight. Reviewing a few subjects and selecting the message IDs helps separate finished paperwork from an open conversation.
What it does
- Find existing messages from a particular sender
- Review the matching subjects before changing labels
- Apply an existing filing label to selected mail
- Remove archived items from the inbox
- Retrieve a filed message from its label afterwards
Install and use
- Install the recipe, gws and the Gmail companion. Connect an account authorised to read messages and change their labels; identify the filing label.
- Ask “Find the old receipts from this sender. Show me the subjects first, then label and archive only the ones I confirm.”
- Check the destination label and reopen a known receipt to verify the result.
FAQ
Source
Made by Google Workspace CLI contributors. Original skill: recipe-label-and-archive-emails, published on GitHub under the Apache-2.0 licence.
View on GitHub