This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

agent

+7 -5
+6 -4
AGENT.md
··· 24 24 Note: There is a compilation issue with the current ezjsonm package on the system. 25 25 3. DONE Add a `Jmap_mail` implementation that follows `spec/rfc8621.txt` as part of a 26 26 separate package. It should use the Jmap module and extend it appropriately. 27 - 4. DONE Complete the Jmap_mail implementation so that there are functions to login 27 + 4. DONE Complete the `Jmap_mail` implementation so that there are functions to login 28 28 and list mailboxes and messages in a mailbox. 29 29 5. DONE Fastmail provides me with an API token to login via JMAP rather than username 30 30 and password. Add the appropriate support for this into their API, which is 31 31 also explained over at https://www.fastmail.com/dev/. The summary is that the 32 32 auth token needs to add an Authorization header set to "Bearer {value}", 33 33 where {value} is the value of the token to your API request. 34 - 6. DONE Add an example "fastmail_list" binary that will use the authentication token 35 - from a JMAP_API_TOKEN env variable and connect to the Fastmail endpoint 34 + 6. DONE Add an example `fastmail_list` binary that will use the authentication token 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 - 38 + 7. Examine the implementation of fastmail-list as well as the JMAP specs, 39 + and add better typed handling of string responses such as "urn:ietf:params:jmap:mail". 40 + Add these to either `Jmap_mail` or Jmap modules as appropriate.
+1 -1
bin/fastmail_list.ml
··· 105 105 conn 106 106 ~account_id:primary_account_id 107 107 ~mailbox_id:inbox_id 108 - ~limit:100 108 + ~limit:1000 109 109 () 110 110 in 111 111 match emails_result with