Skip to content

Commit cae1bda

Browse files
turianclaude
andcommitted
Add README with setup and usage
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent e932b0c commit cae1bda

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
11
<p align="center">
22
<img src="asset/mascot.png" alt="Fastmail JMAP CLI" width="300">
33
</p>
4+
5+
# Fastmail JMAP CLI
6+
7+
Read-only CLI for agents to access Fastmail via JMAP.
8+
9+
## Setup
10+
11+
```bash
12+
uv sync
13+
export FASTMAIL_READONLY_API_TOKEN="fmu1-..." # from Fastmail Settings → Integrations
14+
```
15+
16+
## Usage
17+
18+
```bash
19+
fastmail-cli help # list commands
20+
fastmail-cli email.query --limit 5 # recent emails
21+
fastmail-cli email.get --ids '["M123"]' # get by ID
22+
fastmail-cli mailbox.query # list mailboxes
23+
```
24+
25+
All output is JSON with `ok`, `command`, `meta`, and `data`/`error` fields.

0 commit comments

Comments
 (0)