// free agents / inbox-summariser

📬 Inbox summariser

“Every morning, summarise my unread emails and tell me which ones need a reply.”

Free, no sign-up. MIT licence. Python standard library only, so there's nothing to pip install.

What it does

Reads your unread emails from the last 24 hours over IMAP (Gmail, Outlook, Fastmail, iCloud...) without marking them as read, splits people from newsletters, optionally asks an AI to flag what needs a reply, and emails or prints the summary.

What you need

5-minute setup

Python

  1. Install Python 3.9+ and unzip the download.
  2. Try it with no accounts: python3 inbox_summariser.py --eml-dir sample_emails --dry-run
  3. Copy .env.example to .env and fill it in.
  4. Run: set -a; . ./.env; set +a; python3 inbox_summariser.py (Windows steps in the README).

n8n (no code)

  1. Workflows, then Import from file, then inbox-summariser.n8n.json.
  2. Follow the yellow “Read me” note (credentials or webhook).
  3. Test workflow, then switch it to Active.

Run it on a schedule

Every day at 08:00 with cron:

0 8 * * * cd /path/to/inbox-summariser && set -a && . ./.env && set +a && python3 inbox_summariser.py >> run.log 2>&1

On Windows use Task Scheduler. With n8n, the Schedule node does it for you.

Settings

VariableWhat it does
IMAP_HOST / IMAP_USER / IMAP_PASSWORDe.g. imap.gmail.com / you@gmail.com / your app password
IMAP_FOLDERDefault INBOX
HOURSDefault 24
SMTP_HOST, EMAIL_TOOptional: email the summary (reuses your IMAP login by default)
OPENAI_API_KEY / OPENAI_BASE_URL / OPENAI_MODELOptional AI summary

What we tested

Honest limits

Want one built for your task?

Describe it in one sentence. We build it, test it and hand it over, usually within 24h.

Join the waitlist →