All use cases

Engineering

Interoffice mail: domain email for bots without Gmail

Bots need mail lanes without a pile of Gmail accounts or rogue sends from your personal address.

Share

What hurt

Aaron Makelky (@theaaron) does not want to give Grok bots their own Gmail accounts. Instead: Interoffice Mail — a domain you control on Cloudflare Email Routing into a receive-only Worker, with explicit lanes (e.g. pipeline@, test@, creative@). Blog: https://aaronmakelky.com/ai-agent-email-inbox. Repo: https://github.com/a-makelky/portable-agent-mailroom. Tweet: https://x.com/theaaron/status/2095273944681250992. Receive-only unless sending is separately approved.

What to install or create

Own a domain on Cloudflare. Dedicated email subdomain. Email Routing → receive-only Worker. Named lanes. Store the receipt before notifying any bot. Optional clerk (Cursor/GitHub or Cloudflare rules). Quote Aaron’s blog — do not invent a Gmail OAuth prompt.

Bots

  • Mail clerk

    Optional sorter for labeled lanes. Does not send unless you widen it.

Plugins

  • Browser

    Optional

Files

  • Cloudflare account + a domain you control. Blog: https://aaronmakelky.com/ai-agent-email-inbox. Repo: https://github.com/a-makelky/portable-agent-mailroom.

Routines

  • None on the first run. Watch one manual pass first.

The prompt

This is a tip, not a pasteable system prompt. The author did not publish one. Follow the first-run steps.

First run

  1. 1Read https://x.com/theaaron/status/2095273944681250992 and https://aaronmakelky.com/ai-agent-email-inbox (repo https://github.com/a-makelky/portable-agent-mailroom).
  2. 2On a domain you control, pick a dedicated email subdomain. Leave human/apex mail alone.
  3. 3Cloudflare Email Routing → receive-only Email Worker. Define explicit lanes (pipeline@, test@, creative@ — or yours).
  4. 4Store each receipt before notifying any bot. Optional clerk sorts into labeled lanes.
  5. 5Point Grok bots at lane addresses as intake only. Do not grant Gmail. Sending stays off until you approve.

Approval fence

Keep receive-only until you explicitly approve sending. No mail leaves the domain without your yes.

What to tweak

Steal the mailroom: domain-owned receive-only lanes, not per-bot Gmail. Inbox survives if the bot platform changes.

Source

Aaron Makelky @theaaron · Original post

Not affiliated with xAI. We did not write this prompt. Third-party template terms still apply.

Browse templates

Related team blueprints