First mail check

Prerequisites

  • Himalaya can list your inbox (himalaya envelope list).

  • config.local.json5 copied from config.example.json5 and edited.

  • CURSOR_API_KEY set for a real run (optional for --dry-run).

Steps

  1. Install and build:

    pnpm install
    pnpm build
  2. Copy config:

    cp config.example.json5 config.local.json5
  3. Confirm tooling:

    pnpm aei doctor
  4. Dry-run one poll (prints prompts, does not call Cursor or mark processed):

    pnpm aei check --dry-run -n 1
  5. Live run when ready:

    pnpm aei check -n 1

Expected outcome

Matching messages trigger a Cursor agent. For correspondence and CI, the agent uses Himalaya to create drafts only. Review drafts in Gmail before sending.