ofw_get_unread_sent
Retrieve sent messages that have not been read by any recipient, with automatic cache refresh to avoid empty results.
Instructions
List sent messages that have not been read by one or more recipients. Reads from local cache. Returns complete describing whether every sent message was scanned. An empty SENT cache that is not verified-fresh is REFUSED (result:"UNVERIFIED_EMPTY") rather than reported as "nothing sent"; pass autoRefresh:true to sync and answer instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page (default 1) | |
| size | No | Per page (default 50) | |
| autoRefresh | No | If the result comes back EMPTY from a cache that is not verified-fresh, sync the backing folders first and answer from the refreshed cache instead of refusing. Defaults to the OFW_AUTO_REFRESH env var (false unless set), in which case the call refuses with result:"UNVERIFIED_EMPTY" and names the remedy. Costs OFW requests when it fires. |