Relock: record the >= pin form
55b509e8
A Sigil library for JMAP email (RFC 8620/8621). Works with Fastmail, Stalwart, Cyrus, Apache James, and other JMAP-compatible servers.
Add sigil-jmap as a dependency in your package.sgl:
(from-git url: "codeberg:sigil/sigil-jmap" package: "sigil-jmap")Then connect and query email:
(import (sigil jmap))
(define session (jmap-connect
url: "https://api.fastmail.com/jmap/session"
token: (getenv "JMAP_TOKEN")))
;; List mailboxes
(define mailboxes (jmap-mailboxes session))
;; Find inbox
(define inbox (jmap-mailbox-by-role session "inbox"))
;; Query recent emails
(define emails (jmap-email-query session
mailbox-id: (jmap-mailbox-id inbox)
limit: 10))| Module | Description |
|---|---|
(sigil jmap) | Top-level re-exports |
(sigil jmap client) | Session discovery, JMAP request/response handling |
(sigil jmap mailbox) | Mailbox CRUD operations |
(sigil jmap email) | Email query, get, update, move, delete |
(sigil jmap send) | Identity listing and email submission |
sigil deps install
sigil build
sigil testBSD-3-Clause
$ git clone https://codeberg.org/sigil/sigil-jmap
v0.10.2 — latest by version, released 14 Jul 2026
All releases — 5 tags in this repository.
One page per file, and every line has a permalink.
Relock: record the >= pin form
55b509e8
8d1024c5
Pin dependencies to version tags
ad7e3d2b
fa230a4c
43baa2f3
d1d993bc
The last 20 commits keep a page here. Everything older lives in the clone.