How to Build a Grok Bot logoGrok Bot That Organizes Your Email (Triage, Labels and Reply Drafts)

25–30 min, plus 2–3 test runs

Next: How to Build a Grok Bot That Logs Important Emails Into a Google Sheet (and Reminds You to Follow Up)

Every weekday at 7:30 AM, your inbox is sorted into labels, newsletters are moved out of the way, and you get a short "needs you" list with reply drafts waiting for your OK.

Checked October 17, 2026. Researched and drafted with help from Grok Bot logoGrok Bot, one of the agents covered.

Why build this

Email is the job people most want an AI helper for. It tops the searches, the Reddit threads and the videos we studied.

The trouble is that most "AI email" tips stop at "ask it to summarize your inbox." That helps once. This guide goes one step further. You'll build a Bot that does the same sorting job every weekday, the same way, without you asking.

Here's the deal you make with it. It reads, sorts and drafts. You decide and send. It never sends an email or deletes anything on its own. With the safety setup below, the worst thing that can happen is a wrong label or a draft you throw away.

Who it's for

  • Anyone who opens their inbox and feels behind before coffee.
  • Small business owners who miss customer emails under the newsletters.
  • Freelancers who want replies started, not written from scratch.
  • You've finished our beginner Grok Bot logoGrok Bot track: you've made one Bot, run one task, and set your safety settings. If not, start with Grok Bot logoGrok Bot for Beginners.

What you'll need

  • Grok Bot logoGrok Bot, on The X Subscription Premium ($30/month) or higher (Super, Ultra), or a paid Cursor plan, or an older SuperGrok subscription linked to your account. The $8 Plus plan does not include Grok Bot logoGrok Bot. (Plans checked Oct 17, 2026.)
  • One Gmail account. Grok Bot logoGrok Bot connects one Gmail mailbox at a time.
  • The Grok Bot logoGrok Bot desktop app (Mac, Windows or Linux). You can check results on your phone later.
  • About 30 minutes, and a few emails in your inbox to test on.

What you'll get

  • A step-by-step build: Bot, Gmail connection, first run, skill, weekday routine.
  • The full copy-paste Bot description with safety rules built in.
  • The triage prompt that sorts your inbox into four simple labels.
  • A reply-draft prompt that writes in your voice and stops before sending.
  • Correction prompts to fix the format, plus how to turn a fix into a lasting rule.
  • The exact safety settings to add (Ask first rules, local computer, notifications).
  • A troubleshooting table for the 6 most common problems.
  • A "Same job in other agents" box for Gemini logoGemini, Muse logoMuse, Dots logoDots and Hermes logoHermes, with honest notes on gaps.

Time

About 25–30 minutes to build, then 2–3 short test runs over a couple of days before you let it run on a schedule.

Quick questions

Will it send emails for me? No. This build only labels and drafts. You send every reply yourself.

Will it delete anything? No. The rules in this guide tell it never to delete or trash email. Clutter gets a label, not the bin.

Can it handle my work and personal Gmail? Not at the same time. Grok Bot logoGrok Bot connects one Gmail mailbox at a time. Pick one.

Before you start: 5-minute safety setup

Do these once. They protect every Bot on your account, not just this one.

  1. Add two Ask first rules. Open Settings → General → Auto-review. (Auto-review is Grok Bot logoGrok Bot's safety checker. It decides which actions stop and wait for your OK.) Add:

    • Ask first before sending any email.
    • Ask first before deleting or trashing any email.

    "Ask first" rules always stop the action and show you an approval card. If an "allow" rule and an "Ask first" rule both match, Ask first wins.

  2. Keep your own computer out of it. Go to Settings → General → Bot → Execution on Local Computer and choose Never allow. This job runs in Grok Bot logoGrok Bot's cloud computer. It doesn't need your laptop's files. (If you've registered computers, this setting lives under Settings → Computer → Computers.)

  3. Check your time zone. In Settings → General → Bot, set Timezone. Routines use it for their schedule. A wrong time zone is the #1 reason a "7:30 AM" routine runs at a strange hour.

Step 1: Create the Bot

  1. Choose New in the sidebar (or press Cmd/Ctrl+N).
  2. Choose Create new Bot. (On first launch, you'll see Meet a future teammate. Choose Create your own.)
  3. Open Edit Profile (or View conversation details → Bot settings).
  4. Name it Inbox Manager. In Label, type Email triage (this is its job).
  5. Paste this into the Description box:
Job: Sort my Gmail inbox each weekday morning and prepare reply drafts.

Labels I use:
- "Needs me": a real person is waiting on a reply or decision from me.
- "FYI": worth knowing, no reply needed (receipts, updates, shipping).
- "Newsletters": newsletters, promotions, marketing.
- "Waiting": I'm waiting on someone else.

Standing rules:
- Never send, buy, publish, or delete without my approval.
- Never delete or trash email. When unsure, use "FYI" and tell me.
- Drafts only. Save reply drafts in Gmail; never send them.
- Never click unsubscribe links or links inside emails unless I ask.
- Never share my phone number, address, or calendar in a draft.
- If Gmail is unavailable, say so. Don't guess or use old results.
- Keep the morning list short: 10 items max, most urgent first.
  1. In Bot settings, turn on Notifications. That way you'll know when the digest is ready or when the Bot needs you.

Why the description matters: Grok Bot logoGrok Bot treats the description as rules that should always stay true. The chat is for today's task. The description is for the rules.

Step 2: Connect Gmail

  1. Select Connect apps in the sidebar.
  2. Search for Gmail and choose Add.
  3. When Grok Bot logoGrok Bot asks you to Authorize or Authenticate, finish signing in to Google in your browser.
  4. Back in Grok Bot logoGrok Bot, open Connect apps → Your plugins and check that Gmail appears under Installed.

What the Gmail plugin can do: search and read mail, create drafts, send, and apply labels in the one mailbox you connect.

What to know:

  • It can send. That's why the Ask first rule from the safety setup matters.
  • Plugins are account-wide. Every Bot on your account can use this mailbox. If you later make a Bot that shouldn't see your email, keep that in mind.
  • Work Google account? Your company's Google admin may need to approve "Grok logoGrok" first. If you see "Your admin needs to review Grok logoGrok" or "Access blocked," see Troubleshooting below.

Make the labels. Open Gmail yourself and create the four labels: Needs me, FYI, Newsletters, Waiting. It takes one minute, and you'll know exactly what exists.

Step 3: Run it once by hand

Start small. Ask about the last day only, and ask it to show you before labeling.

In the Bot's chat, type @ and pick Gmail to attach it to the task. Then paste:

Look at the emails in my Gmail inbox from the last 24 hours.

Sort each one into one of my labels: Needs me, FYI, Newsletters, or Waiting.
Don't apply any labels yet. Just show me a table:
| From | Subject | Your label | Why (one short line) |

Then list the "Needs me" emails again, most urgent first. For each one:
- one-line summary
- what they want from me
- a suggested next step

Don't send, delete, or change anything.

What good looks like: a table you can scan in 30 seconds, and a "Needs me" list of a handful of emails, not 40.

Read the table. Fix anything that's wrong in plain English, like:

Emails from my accountant are always "Needs me," even if they look like updates.
Shipping notices are "FYI," never "Needs me."

When the table looks right, let it apply labels:

That looks right. Apply those labels now. Don't remove the emails from my inbox yet.

Step 4: Add reply drafts

Now ask for drafts for the "Needs me" pile. Give it two or three real emails you've sent before, so it can copy your voice.

For each "Needs me" email, write a reply draft in my voice and save it in Gmail Drafts as a reply in the same thread.

My style: short, friendly, plain words, no exclamation marks, sign off "Thanks, [your name]".
Here are 2 emails I wrote, as examples of my tone:
[paste example 1]
[paste example 2]

If a reply needs a fact you don't have (a price, a date, a yes/no from me), write [ASK ME] in that spot instead of guessing.
Never send any draft. Show me a list of the drafts you saved.

Open Gmail, check the Drafts folder, and read them. Edit and send the good ones yourself. Delete the bad ones yourself.

About moving newsletters out of the inbox. In Gmail, "archive" just means "remove the Inbox label." Grok Bot logoGrok Bot's help page says the Gmail plugin can apply labels. It doesn't say whether it can remove the Inbox label. So test it once:

Take ONE email labeled "Newsletters" and archive it (remove it from my inbox, keep the "Newsletters" label). Tell me exactly what you did. Don't touch any other email.

If it works, great. If the Bot says it can't, ask it to write a Gmail filter you can set up yourself in Gmail → Settings → See all settings → Filters and Blocked Addresses. That's free, runs forever, and doesn't need an AI.

Step 5: Fix the format and make it stick

Run the same task again tomorrow morning. That's xAI's own tip: tell the Bot what was useful and what was noise.

Handy correction prompts:

Too long. Max 10 items in the "Needs me" list. Group the rest as "Also arrived: X FYI, Y newsletters."
Put a direct link to each email in the list so I can open it in one click.
Use this format for all future inbox digests: the "Needs me" list first, then drafts saved, then a one-line count of everything else.

That last one is the trick. When you say "for all future…", you're turning a fix into a lasting rule. For rules that must never change (like "never send"), put them in the Bot's description too.

Step 6: Save it as a skill

A skill is a saved recipe: the steps, the rules and the output format. Once it's a skill, you can run it by typing / and picking its name, and your other Bots can use it too.

Save the process we just used as a skill called "Morning inbox triage."
Include:
- when to use it (weekday mornings)
- that it needs the Gmail plugin
- the 4 labels and what goes in each
- the digest format I approved
- the reply-draft rules, including [ASK ME] for missing facts
- the rule that it never sends, deletes, or trashes email
- what to do if Gmail is unavailable (report it, don't guess)

To use it later, type / in the chat box and pick Morning inbox triage.

If the skill doesn't show up, open Connect apps → Your plugins → Manage plugins and skills and look under Private skills.

Step 7: Put it on a schedule (the routine)

A routine tells one Bot when to run a job. Only do this after two or three good hand-run results.

Every weekday at 7:30 AM my time, run the "Morning inbox triage" skill on emails since the last run.
Post the digest in this conversation.
Never send or delete email.
If Gmail is disconnected or needs sign-in, post "Gmail needs attention" and stop. Don't use old results.

The Bot creates the routine and shows its next run.

Test it first. Open View conversation details → Routines (click the Bot's name at the top of the chat, then find Routines on the Details tab), pick the routine, and choose Test (older versions call it Test run). A test does real work, so it really will label and draft. That's fine here, because labels and drafts are easy to undo.

Pausing it: same place. View conversation details → Routines, then pause. Pause it when you go on vacation, or when your inbox changes a lot. (Hiding a Bot does not pause its routines.)

Make it yours: 3 variations

Freelancer: add a "Clients" label.

Add a label "Clients" for any email from these domains: [client1.com, client2.com]. Clients always go to the top of the digest, even above "Needs me."

Parent: catch school emails.

Add a label "School." In the digest, pull out any date, deadline, or form from school emails as a separate list called "Dates to remember."

Small shop: sort customer questions.

For customer emails, add a second label: Shipping, Returns, Product question, or Other. Draft replies using only the facts in the FAQ I've attached. If the FAQ doesn't cover it, write [ASK ME].

Safety settings recap

SettingWhereWhat to choose
Ask first: sending emailSettings → General → Auto-reviewAsk first before sending any email.
Ask first: deleting emailSettings → General → Auto-reviewAsk first before deleting or trashing any email.
Local computerSettings → General → Bot → Execution on Local ComputerNever allow
Approval cardIn chatAllow once for anything you approve. Avoid Always allow for sending.
Bot descriptionEdit ProfileIncludes "Never send, buy, publish, or delete without my approval."
NotificationsView conversation details → Bot settingsOn

About approvals during routines. When a routine (not you) starts the work, an approval card expires after about 10 minutes. The card shows Expired and the action doesn't run. That's a feature here: a 7:30 AM routine can't send anything while you're asleep.

If label actions keep asking for approval and that's slowing the routine, you can add a narrow rule like Allow automatically when applying the Gmail labels Needs me, FYI, Newsletters, or Waiting. Keep it that narrow. Your Ask first rules still win for sending and deleting.

Troubleshooting

ProblemLikely causeFix
Bot says Gmail is missingPlugin installed but not signed inConnect apps → Your plugins, open Gmail, choose Authenticate if it says Needs auth or Disconnected
"Your admin needs to review Grok logoGrok" or "Access blocked"Work Google account blocks third-party appsAsk your Google admin to set the app named Grok logoGrok to Trusted. Personal Gmail doesn't need this
Routine ran at the wrong timeTime zoneSettings → General → Bot → Timezone
Routine didn't runPaused, plugin signed out, or usage limit reachedView conversation details → Routines: check it's enabled and look at recent runs
Too many emails marked "Needs me"Rules too looseGive 3 examples of what is NOT "Needs me" and say "use this rule for all future digests"
Drafts sound nothing like youNot enough examplesPaste 3 more of your sent emails and list 3 words you never use

Same job in other agents

Gemini Spark logoGemini Spark (now "Task" in Gemini logoGemini): the strongest native Gmail fit. Click Task, connect Gmail, and use a time-based schedule. Google's own examples include decluttering your inbox and unsubscribing. Gemini logoGemini also has Gmail monitors that run when a matching email arrives in Gmail. Grok Bot logoGrok Bot routines can start when mail arrives at the Bot's own @mail.grokbot.com address; that isn't documented for a connected Gmail inbox. Gaps: needs Google AI Pro ($19.99/mo) or Ultra, a personal Google account (not work or school), and isn't available in the EEA, UK, Switzerland or Nigeria. You also need to be 18+, have Keep Activity on, and opt in to Personal Intelligence. Google warns not to schedule sensitive tasks you can't stop while offline.

Muse logoMuse (Meta): say "Connect my Gmail" or go to Settings → Connectors, then set it to Always ask in Settings → Permissions. It can summarize and draft, and run recurring tasks. Gaps: reported available in the US and Canada only. Labeling and archiving aren't documented as named features, so test first. Use Allow once for any send. There's a free tier.

Dots logoDots (OpenAI): in the ChatGPT logoChatGPT mobile app, open your dot's profile → Customize → Plugins to connect your email, then set sending to Ask before taking action in Customize → Custom rules. Recurring checks, like a morning review, are documented. Gaps: needs ChatGPT logoChatGPT Pro (from $100/mo, not in the EEA, UK or Switzerland) or a Business Premium seat. Whether its email plugin can apply Gmail labels is not verified.

Hermes logoHermes Agent: free, open-source software with a bundled email-inbox-triage skill (and google-workspace for Gmail). Gaps: this is advanced setup even for an intermediate task. The email skills need command-line setup, and Nous says to use a dedicated email account, not your personal one. It only runs on schedule while its computer is on. Read our Hermes logoHermes safe setup first.

Next step

Once this has run well for a week, move up to Grok Bot logoA1: How to Build a Grok Bot That Logs Important Emails Into a Google Sheet (and Reminds You to Follow Up). It reuses this Bot, adds a Sheet, and is our first Advanced guide.

Want a calm start to the day on top of this? Combine it with I3: Weekly Calendar Check (weekly calendar check).

Get the free safety checklist

7 rules for letting an agent act for you, plus a note when prices or features change. We re-check every month. Read the 7 rules.

No spam. Unsubscribe anytime.