Example output
Subject
Inbox Digest - Monday, June 1, 2026
Mode: test (read-only test: nothing was changed)
Would be cleaned (14 emails matched rules)
Proposed reply drafts (1)
Re: Intro call next week?
To: Anna Keller
Why: direct scheduling question from a known contact
Hi Anna, Tuesday 10:00 works on my side. I'll send an invite now, happy to move it if something else suits better.
Important - needs attention (2)
Anna Keller
Subject: Intro call next week?
Quick one - would Tuesday 10:00 or Wednesday 14:00 work for a 30-min intro call?...
Stripe
Subject: Action required: verify your updated bank account
We could not verify the bank account ending 4402. Payouts are paused until...
FYI - no action needed (3)
What this delivers
Overview
Fetches unread and recent Gmail messages, applies local rule definitions, performs safe batch label updates through the Floom Composio proxy, optionally drafts replies (as Gmail drafts, never sent) for messages that warrant one, and writes a daily inbox digest. Drafting uses Gemini and activates when the worker has both a user-provided brain.md file and GEMINI_API_KEY (or OPENAI_API_KEY) as a worker secret; without those, sorting still runs and drafting is skipped.
Modes:
- •test (default): read-only. No archiving, marking read, labels, Gmail drafts, or state writes. Shows the digest plus proposed reply drafts inline for review.
- •live: applies rules and creates Gmail drafts for replies. Never sends mail.
What you provide
modeselecttest = read-only preview (no changes, no drafts saved). live = apply rules and save Gmail drafts (never sends).
max_emailstextCap how many fetched messages to process this run.
draft_repliesselectWhether to draft replies for emails that warrant one. Requires a user-provided brain.md file plus GEMINI_API_KEY or OPENAI_API_KEY.
How it works
- 1Gmail unread/recent search
- 2match optional inbox rules (archive / mark read / label)
- 3classify remaining as important vs FYI
- 4optionally draft replies from the user's own brain.md context (Gemini); in live mode save Gmail drafts (never send)
Under the hood
The worker's instructions and configuration
Install with an agent
Give this to your coding agent. It sets you up first via the onboarding prompt, then imports this template and keeps the first run in preview mode.
Set up Floom in my coding agent, then add this worker. First, read https://floom.dev/onboard and follow it to install Floom and sign me in. Import this Floom worker template into my workspace and keep it in test mode first: