pidge 0.2.0

A fast CLI for e-mail and calendar
pidge-0.2.0 is not a library.

Status

Early days. pidge can sign in to one or more Microsoft 365 / personal Microsoft accounts and list inbox messages from each. Read/write mail, draft, send, and calendar commands are on the roadmap.

Account setup

# Sign in (interactive device code flow)
pidge auth login

# Check what you're signed in to
pidge auth list

# Sign out
pidge auth logout

The first account becomes the default for sending mail and for calendar; change with pidge auth default --send <email> or --calendar <email>. Sign in to multiple accounts and pidge merges reads across all of them.

Reading the inbox

# All accounts, top 25 by received time
pidge inbox list

# One account, only unread
pidge inbox list --account kristofer@mklab.se --unread

# Pipe to scripts
pidge inbox list --output json | jq '.[].subject'

Quick Start

# Install (macOS / Linux)
brew install mklab-se/tap/pidge

# Or via cargo
cargo install pidge

# Configure your AI provider (uses ailloy)
pidge ai config

# Check status
pidge ai status

# See what's available today
pidge --help

See INSTALL.md for all installation methods and shell completions.

AI Integration

pidge delegates AI configuration to ailloy, a unified AI provider library shared by the MKLab CLI suite (rigg, mdeck, cosq, pidge). Configure your provider once with pidge ai config and it's available to every ailloy-based tool.

Development

cargo build              # Build
cargo test --workspace   # Run tests
cargo clippy             # Lint
cargo fmt                # Format

See CONTRIBUTING.md for the contributor guide.

License

MIT — see LICENSE.