+8
-1
AGENT.md
+8
-1
AGENT.md
···
35
35
from a `JMAP_API_TOKEN` env variable and connect to the Fastmail endpoint
36
36
at https://api.fastmail.com/jmap/session and list the last 100 email with
37
37
subjects and sender details to stdout.
38
-
7. Examine the implementation of fastmail-list as well as the JMAP specs,
38
+
7. DONE Examine the implementation of fastmail-list as well as the JMAP specs,
39
39
and add better typed handling of string responses such as "urn:ietf:params:jmap:mail".
40
40
Add these to either `Jmap_mail` or Jmap modules as appropriate.
41
+
8. Move some of the debug print messages into a debug logging mode, and ensure
42
+
that sensitive API tokens are never printed but redacted instead.
43
+
Modify the fastmail-list binary to optionally list only unread messages, and
44
+
also list the JMAP labels associated with each message.
45
+
9. Read the JMAP crash course at https://jmap.io/crash-course.html and especially
46
+
the bit about result references. Modify the OCaml interfaces appropriately from
47
+
what you learn here.