Tag Info

Hot answers tagged


I found an easier solution that doesn't require Apps Script: While the GMail UI removes the "Not spam" button after clicking "Select all conversations that match this search", it leaves a "Move to Inbox" button, and using that automatically removes the Spam pseudo-label. Combining this with a temporary label just for these messages, I was able to move them ...


You can do this with a script. I tested it by labeling a few messages in my spam folder and executing it. (I don't have 16000 messages to test on...) function removeFromSpam() { while (true) { var threads = GmailApp.search("in:spam label:feedback", 0, 50); if (threads.length>0) { GmailApp.moveThreadsToArchive(threads); } else { ...

Only top voted, non community-wiki answers of a minimum length are eligible