# martinrusev/imbox

Python IMAP for Agentic Workflows

Repository: https://github.com/martinrusev/imbox
Canonical: https://ross.abutalabs.com/products/imbox
Language: Python
License: MIT
License Family: permissive
Topics: imap, agents, automation, python, workflows
Last push: 2026-06-23T10:54:28+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 89, release rhythm 45, longevity 100
- inputs: {"age_days": 4790, "days_push": 71, "days_rel": 159, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1217, forks 186 (observed 2026-08-28T04:04:01.389354+00:00)

## What it is
Imbox is a Python library and CLI for reading IMAP mailboxes and converting email content into machine-readable JSON data. It is designed for agentic workflows, letting scripts or AI agents fetch, filter, and export emails via environment-variable configuration.

## Use cases
- fetch emails from an imap server in python
- export mailbox messages to json for an ai agent
- filter unread emails by sender or date from the terminal
- parse email content into machine readable data
- automate email processing in workflows
- query gmail with raw search filters from cli

## When to choose
- you need programmatic IMAP access with structured JSON output
- you are building agentic or automated email workflows in Python
- you want a simple CLI to fetch and filter emails without writing code

## When to avoid
- you need to send or compose emails - it only reads mailboxes
- you need a full email client with a GUI
- you need POP3 or non-IMAP mail protocols

## Facets
- artifact type: library
- maturity: active
- function: email, cli, developer-tools, workflow-automation, serialization
- domain: email, developer-tools
- platform: python, cli, cross-platform
- tags: imap, email-parsing, agentic-workflows, machine-readable-email, json-output, automation, ai-agents

## Member repositories
- martinrusev/imbox (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:01.389354+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:17:08.318610+00:00, confidence not recorded.
  - readme: https://github.com/martinrusev/imbox (fetched 2026-08-28T04:04:01.389354+00:00, sha 97529ea55a89)
- Data as of 2026-08-30T08:39:29.467469+00:00.
