Sync email threads from IMAP to Markdown, draft replies, manage collaborators
Project description
Corky
Alpha software. Expect breaking changes between minor versions. See VERSIONS.md for migration notes.
Full documentation: https://btakita.github.io/corky
Sync email threads from IMAP to Markdown. Draft replies with AI assistance. Share scoped threads with collaborators via git.
Corky syncs threads from any IMAP provider (Gmail, Protonmail Bridge, self-hosted) into mail/conversations/ — one file per thread, regardless of source. A thread that arrives via both Gmail and Protonmail merges into one file. Labels, accounts, and contacts are metadata, not directory structure.
Install
pip install corky # or: pipx install corky
Or via shell installer:
curl -sSf https://raw.githubusercontent.com/btakita/corky/main/install.sh | sh
Or from source: cargo install --path .
Quick start
corky init --user you@gmail.com
# Edit mail/.corky.toml with credentials
corky sync
See the getting started guide for full setup instructions.
Key features
- Flat conversations — one Markdown file per thread, all sources merged
- Sandboxed sharing — label-based routing gives collaborators only the threads you choose
- AI-native — files, CLI, and git work the same for humans and agents
- Multi-account — Gmail, Protonmail Bridge, generic IMAP, all in one directory
- Watch daemon — poll IMAP on an interval with
corky watch
Usage
corky sync # Incremental IMAP sync
corky unanswered # Threads awaiting a reply
corky draft push FILE # Save as email draft
corky mailbox add NAME --label LABEL # Share threads
corky watch # Poll and sync automatically
corky --help # All commands
See the command reference for details.
Development
cp .corky.toml.example mail/.corky.toml
make check # clippy + test
make release # build + symlink to .bin/corky
See building and conventions.
AI agent instructions
Project instructions live in AGENTS.md (symlinked as CLAUDE.md). Personal overrides go in CLAUDE.local.md / AGENTS.local.md (gitignored).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file corky-0.7.2.tar.gz.
File metadata
- Download URL: corky-0.7.2.tar.gz
- Upload date:
- Size: 114.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
337d8afca0aee8cc715b6d8934f07ad56c2ee8ac7193eadcecc6b522f1804954
|
|
| MD5 |
5a52f0b5f734f42d5ad23b526a443151
|
|
| BLAKE2b-256 |
1eb189db326dd81a4b8197d2c1ae31c1b84880a7f0681704e628d3e53ecb53b6
|
File details
Details for the file corky-0.7.2-py3-none-manylinux_2_39_x86_64.whl.
File metadata
- Download URL: corky-0.7.2-py3-none-manylinux_2_39_x86_64.whl
- Upload date:
- Size: 5.2 MB
- Tags: Python 3, manylinux: glibc 2.39+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97eb3d2f1710eb9880c27fd4d24f3b08bbf1fb6713b71f5b524e0899c4e17f5d
|
|
| MD5 |
abb88132d6e196ca0c4132a1bfd16dfb
|
|
| BLAKE2b-256 |
9db76acb27534b6eba9d1e23a61c6b5831f579ca79dc5baf4ca5ba79cf58b095
|