code
Clone this repository
https://tangled.org/anil.recoil.org/ocaml-jmap
git@git.recoil.org:anil.recoil.org/ocaml-jmap
For self-hosted knots, clone URLs may differ based on your setup.
- Added functions to format message keywords and flag colors in a human-readable way
- Updated fastmail_list to use these functions for better display of labels
- Enhanced flag_color_test with a demo of the formatting functionality
- Updated AGENT.md to mark task as completed
馃 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This implements task 9 from AGENT.md by adding:
- Flag color support with RGB bit pattern encoding (Red, Orange, Yellow, Green, Blue, Purple, Gray)
- Standard message keywords as defined in draft-ietf-mailmaint-messageflag-mailboxattribute-02
- Mailbox attribute names (Snoozed, Scheduled, Memos)
- Helper functions to work with these types and convert between typed and string representations
- Utility functions to check, add, and search for messages with specific keywords
Added a test program (flag_color_test) to demonstrate the new functionality.
馃 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>