Problem
RUDI CRM has discovery contracts and Google Workspace can return header-only Gmail pages, but operators lack one bounded CLI workflow that joins them safely. Manual sweeps are difficult to reproduce and make preview-versus-write behavior ambiguous.
Scope
- add
rudi crm sweep-gmail with explicit account and date bounds
- read only From, To, Cc, and Bcc metadata and exclude spam/trash
- default to a private preview artifact with no CRM writes
- gate idempotent discovery recording behind
--record
- never create, merge, attach, or promote CRM people
- paginate defensively, validate provider responses, and bound batch sizes
- add a small MCP stdio client for canonical RUDI router tool calls
Acceptance
Problem
RUDI CRM has discovery contracts and Google Workspace can return header-only Gmail pages, but operators lack one bounded CLI workflow that joins them safely. Manual sweeps are difficult to reproduce and make preview-versus-write behavior ambiguous.
Scope
rudi crm sweep-gmailwith explicit account and date bounds--recordAcceptance