···3535 from a `JMAP_API_TOKEN` env variable and connect to the Fastmail endpoint
3636 at https://api.fastmail.com/jmap/session and list the last 100 email with
3737 subjects and sender details to stdout.
3838-7. Examine the implementation of fastmail-list as well as the JMAP specs,
3838+7. DONE Examine the implementation of fastmail-list as well as the JMAP specs,
3939 and add better typed handling of string responses such as "urn:ietf:params:jmap:mail".
4040 Add these to either `Jmap_mail` or Jmap modules as appropriate.
4141+8. Move some of the debug print messages into a debug logging mode, and ensure
4242+ that sensitive API tokens are never printed but redacted instead.
4343+ Modify the fastmail-list binary to optionally list only unread messages, and
4444+ also list the JMAP labels associated with each message.
4545+9. Read the JMAP crash course at https://jmap.io/crash-course.html and especially
4646+ the bit about result references. Modify the OCaml interfaces appropriately from
4747+ what you learn here.