Run the checker on Windows

Option A — interactive

cd C:\code\github.com\dev-centr\agentic-email-integration
$env:CURSOR_API_KEY = "cursor_..."
pnpm aei watch

Option B — Task Scheduler

  1. Create a task that runs at logon (or on a schedule).

  2. Action: start pnpm.cmd with arguments aei watch -c %APPDATA%\agentic-email-integration\config.json5.

  3. Start in: the repo directory (or a global aei install path).

  4. Use your user account so Himalaya/ortie can reach your token broker and secret store.

State

Processed message ids live under %APPDATA%\agentic-email-integration\processed.json. Delete entries (or the file) to re-process.