ofw_sync_messages
Syncs messages from OurFamilyWizard into a local cache. Returns folder counts and unread inbox messages, optionally fetching bodies or deep-scanning all pages.
Instructions
Sync messages from OurFamilyWizard into the local cache. Returns counts per folder and a list of unread inbox messages whose bodies were NOT fetched (to avoid mark-as-read on OFW). Call ofw_get_message(id) on those to read them. Pass deep:true to walk all OFW pages instead of stopping at the first all-cached page (use to backfill suspected gaps).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deep | No | If true, walk every OFW page until empty regardless of cache state. Use to backfill gaps. Default false. | |
| folders | No | Folders to sync (default: all three) | |
| fetchUnreadBodies | No | If true, also fetch bodies for unread inbox messages (will mark them as read on OFW). Default false. |