How this helps you
You get a cleaner inbox without risking the emails that matter, because the Bot shows every proposed deletion and unsubscribe and waits for your yes.
Set up a new bot for me I can trigger for an email cleanout, in its own dedicated chat. Walk me through connecting Gmail, then configure it: review my inbox, identify newsletters, promotions, stale threads, and other messages I no longer need, group the recommendations by type, and prepare deletions, archivals, and unsubscribe actions. Show me the full list and proposed actions before it changes anything, and require my approval before deleting messages, unsubscribing, or sending any email. Ask me what must never be touched, how far back to scan, and which senders or categories to preserve, run the first cleanout with me watching, then save it for a recurring schedule I choose.
Fill in: No brackets to fill: the Bot asks you for the scan window, the never-touch list and the senders to keep. This is the prompt exactly as twinedon0 shared it.
What they did
On 29 November twinedon0 shared the setup prompt for an email cleanout Bot, the first of 20 Bots in their article, and posted the prompt in full in a reply. The same prompt is listed as "Email Purger" in the community directory botdirectory.org. Pasted into a Grok Bot chat, it asks your Bot to set up a separate Bot in its own chat and walk you through connecting Gmail. The new Bot reads back as far as you tell it, sorts what it finds into newsletters, promotions, stale threads and other mail you no longer need, and builds an unsubscribe list from senders you never open. Before the first run it asks what must never be touched (twinedon0's examples: family, bank, landlord and starred mail), how far back to scan and which senders or categories to keep. It then shows the whole list grouped by type with the action it proposes for each, and deletes, archives or unsubscribes only after you say yes. You watch the first cleanout, then pick a schedule. In the replies twinedon0 said their demo scanned back to 2021, that a protected sender such as a parent stays no matter what, and that nothing goes without your yes.
Who it's for: Anyone with a Gmail inbox full of newsletters and promotions they never read. A good first Bot: it's useful on day one and every risky step waits for you.
Before you start
- Grok Bot on a plan that includes it
- A Gmail account you can connect (Gmail connects one mailbox at a time)
- A short list of senders and labels that must never be touched
How to try it
- Open a new chat with your main Bot and paste the prompt below. It sets up a separate cleanout Bot in its own chat.
- When the Connect card appears, connect the Gmail account you want cleaned.
- Answer its setup questions: how far back to scan, what must never be touched (family, bank, landlord, starred) and which senders or categories to keep.
- Read the grouped list it shows before anything changes. Reply with exceptions ("keep everything from [sender]") until the list is right.
- Approve the actions. Watch this first run to the end.
- Pick a schedule only once a run has gone the way you wanted, and keep the step where it shows you the list first.
What to expect
Expect questions first, then a list grouped by type (newsletters, promotions, stale threads, social) with a proposed action per group and the senders it plans to unsubscribe from. Success check: nothing in your inbox has changed until you approve, and every sender on your never-touch list is missing from the list.
Common mistakes
- Approving the whole list without reading it. Give it your never-touch list first, then scan the groups for anything from people.
- Scanning years back on the first run. twinedon0's demo went back to 2021; a shorter window gives a list you can actually review (our suggestion).
- Assuming it can delete everything through Gmail. Grok Bot's docs list the Gmail connector as search, read, draft, send and apply labels. Expect it to label or archive, or tell you which steps it can't do (we haven't tested deleting).
- Scheduling it to act overnight. Approval cards raised by a routine expire after 30 minutes and the action doesn't run, so have scheduled runs post the list and wait for you.
Related tips
- Inbox manager in review mode that learns from your edits: A separate inbox Bot sorts mail and Slack, drafts replies in your voice, and every Friday compares its drafts with what you actually sent.
- Triage and reply to email from the chat: Ask for a brief of emails that need replies, then answer them in one line each.
- Set each connector tool to Always allow, Needs approval or Blocked: Every connector page now has a setting per tool. Kacper Rutkiewicz's rule: reads on Always allow, sends, posts, payments and deletes on Needs approval, anything you never want on Blocked.
Worth knowingUnsubscribing can mean sending an email or opening a link, which is why the prompt keeps sending any email behind your approval. Keep that line if you shorten the prompt. twinedon0 credits the idea to Elon Musk; we couldn't find a post from him with this prompt, so we credit the people who shared it.
Questions about this tip
Will the email cleanout Bot delete anything without asking?
Not with this prompt. It shows the full list of proposed deletions, archives and unsubscribes and requires your approval before deleting, unsubscribing or sending any email.
Can the Gmail connector delete email?
Grok Bot's docs list the Gmail connector as able to search, read, draft, send and apply labels. Deleting isn't on that list, so the Bot may archive or label instead, or tell you which steps you need to do yourself.
Can I run the cleanout on a schedule?
Yes, the prompt saves it for a schedule you choose after a first run you watch. Approval cards from a routine expire after 30 minutes, so let scheduled runs post the list and wait for you.
Learn more: How to Use Grok Bot: A Beginner's Guide (2026) · All Grok Bot connectors tips