# OpenCLI Agent Pack: mbsync / isync

Use this when an AI agent needs to work with `mbsync`.

## What this CLI is for
IMAP sync, local email archive, and agent email search from the terminal. Built by isync. Start with `mbsync -a` and go from there. Runs entirely on your machine.

Best for: imap sync, local email archive, and agent email search from the terminal.

## Agent readiness
Usable with guardrails (45/100)
- Supports non-interactive/scripted use.
- Can run locally with less credential exposure.

## Install
```sh
brew install isync
```

## Verify before real work
```sh
mbsync --help
```
Expected signal: mbsync responds locally; authenticate before real work.

## Safe starting commands
```sh
mbsync --help
```

```sh
mbsync -a
```

```sh
mbsync work
```

## Guardrails for agents
- Prefer small commands and ask the agent to summarize plain text output.
- Verify identity/account before running task commands.
- Network access is required; avoid leaking secrets in logs.
- Start read-only, then ask before mutations.

## Suggested agent instruction
You may use mbsync / isync (`mbsync`) for imap sync, local email archive, and agent email search from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.

Source: OpenCLI
