Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ make ci # Runs: fmt → vet → lint → test-unit → test-race → secu
- **CLI Framework**: Cobra
- **API**: Nylas v3 ONLY (never use v1/v2)
- **Timezone Support**: Offline utilities + calendar integration ✅
- **Email Signing**: GPG/PGP email signing (RFC 3156 PGP/MIME) ✅
- **Credential Storage**: System keyring (see below)
- **Web UI**: Air - browser-based interface (localhost:7365)

Expand Down Expand Up @@ -123,10 +124,12 @@ Credentials from `nylas auth config` are stored in the system keyring under serv

**Quick lookup:** CLI helpers in `internal/cli/common/`, HTTP in `client.go`, Air at `internal/air/`

**New packages (2024):**
**New packages (2024-2026):**
- `internal/ports/output.go` - OutputWriter interface for pluggable formatting
- `internal/adapters/output/` - Table, JSON, YAML, Quiet output adapters
- `internal/httputil/` - HTTP response helpers (WriteJSON, LimitedBody, DecodeJSON)
- `internal/adapters/gpg/` - GPG/PGP email signing service (2026)
- `internal/adapters/mime/` - RFC 3156 PGP/MIME message builder (2026)

**Full inventory:** `docs/ARCHITECTURE.md`

Expand Down
4 changes: 3 additions & 1 deletion docs/COMMANDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ nylas email read <message-id> # Read email
nylas email read <message-id> --raw # Show raw body without HTML
nylas email read <message-id> --mime # Show raw RFC822/MIME format
nylas email send --to EMAIL --subject SUBJECT --body BODY # Send email
nylas email send --to EMAIL --subject SUBJECT --body BODY --sign # Send GPG-signed email
nylas email send --list-gpg-keys # List available GPG signing keys
nylas email search --query "QUERY" # Search emails
nylas email delete <message-id> # Delete email
nylas email mark read <message-id> # Mark as read
Expand All @@ -136,7 +138,7 @@ nylas email ai analyze --provider claude # Use specific AI provider
nylas email smart-compose --prompt "..." # AI-powered email generation
```

**Details:** `docs/commands/email.md`, `docs/commands/ai.md`
**Details:** `docs/commands/email.md`, `docs/commands/email-signing.md`, `docs/commands/ai.md`

---

Expand Down
Loading