Skip to main content
Glama
JumpLink

postbote

by JumpLink

Curlew

Formerly postbote. The GitHub repository is JumpLink/curlew (old URLs redirect). An existing ~/.local/share/postbote / ~/.config/postbote keeps being used as it is, and the old POSTBOTE_* variables still work.

Your GNOME mail, contacts and calendar — on the command line, and as an MCP server so an AI assistant can search your mailbox for you.

Curlew reads the accounts you already configured in GNOME Settings → Online Accounts. There is nothing to log into and no password to store: credentials come from GNOME Online Accounts at runtime and are never written to disk, never logged, and never returned by any command.

It runs on GJS (GNOME's JavaScript runtime) via gjsify — the same stack a GNOME desktop app is built on, which is where this is headed.

Status: early. The CLI and the MCP server work; the desktop app does not exist yet.

What it does

  • Mail (IMAP) — search across folders by sender, recipient, subject, date range and full text; read a message; list its parts; save an attachment.

  • Contacts and calendar — read the address books and calendars that Evolution Data Server keeps in sync for your online accounts.

  • Local index — an optional SQLite full-text index so repeated searches are instant and work offline. Indexing ~1200 messages takes about half a minute; searching them afterwards takes under a second.

  • Telegram (optional, off by default) — your direct chats, groups and channels in the same conversation view as mail, through Telegram's official API (mtcute). See Telegram.

  • WhatsApp (optional, off by default, unofficial — risks your account) — your chats as a linked device through Baileys. See WhatsApp.

  • Signal (optional, off by default, not an official client) — your chats as a linked device through libsignal, the library Signal's own apps are built on. See Signal.

  • XMPP / Jabber (optional, off by default) — direct chats with your roster and the rooms you joined, read from the server's message archive (MAM) through xmpp.js. See XMPP.

  • Matrix (optional, off by default) — the rooms you have joined, end-to-end encrypted ones included, through matrix-js-sdk and its Rust crypto compiled to WebAssembly. See Matrix.

Everything is read-only. Messages are fetched with IMAP BODY.PEEK, so opening a mail through Curlew never marks it as read. Telegram is read the same way: nothing is sent, edited, deleted or marked read. WhatsApp too: no message, no read receipt, no online presence (see WhatsApp for the one acknowledgement every linked device sends). XMPP likewise — Curlew never sends a presence, so contacts do not see it online and your offline messages stay queued for your real clients. Matrix too: no presence, no read receipt, no typing notice, no message, and no invitation is accepted. Signal too: no message, no receipt, no typing notice (see Signal for the acknowledgement and the two requests at link time).

Related MCP server: evolution-mcp

Requirements

  • GNOME Online Accounts + Evolution Data Server (Fedora: gnome-online-accounts, evolution-data-server), and libgda-sqlite for the index

  • A running user session D-Bus — the GOA and EDS daemons are reached over it, so a bare SSH session without one will report the backend as unavailable

  • GNOME accounts, contacts and calendar run on Node/Bun too (gi:// via @gjsify/node-gi); that is groundwork for a macOS/Windows port, not a supported target yet. The IMAP mail transport is GJS-only, since it speaks IMAP over Gio TLS sockets. Without the GOA/EDS typelibs Curlew still starts: only the calls that need them fail, with a clear message.

  • An Email (IMAP/SMTP) account in GNOME Settings. Nextcloud/ownCloud accounts expose files, calendar and contacts but no mail.

  • Implicit TLS (port 993). STARTTLS on port 143 is not implemented yet.

Install and run

gjsify install
gjsify workspace curlew-cli build
gjsify run app/dist/curlew.gjs.mjs accounts

The bundle resolves its native addon (libsignal, for the Signal backend) by the absolute path it was built at, so do not move or copy a built tree — the copy fails at the first Signal command. curlew-cli test:relocation measures this and says so out loud; the fix is tracked in gjsify.

Setup

curlew setup walks you through the whole thing — linking Signal and WhatsApp, accepting their terms, building the index, running the receiving daemon and installing its systemd user unit — one confirmed stage at a time:

curlew setup

It finds the checkout it is run from, and falls back to a published curlew on PATH when there is no tree. curlew setup --status reports what is done and what is left without changing anything, and curlew setup --only <stage> runs the named stages and nothing else — --status prints the name of every stage. --only may be repeated (--only terms --only link-signal) to pick more than one.

Re-run it whenever: a stage that is already done says so instead of failing.

The QR code and every pairing code it prints stay in that terminal. curlew calls the same account-adding command you would call by hand, with the same prompter, and neither copies, captures, logs nor stores a pairing payload. The terms are displayed before you are asked to accept them, and nothing accepts them for you.

Use it

curlew check                              # which backends are reachable
curlew accounts                           # which online accounts are available
curlew folders                            # mailboxes, with their roles

curlew search "energieberater" --since 2025-01-01
curlew search --from berater --all-folders --limit 20
curlew message <uid> --account <id>       # one message: body + attachment list
curlew parts <uid> --account <id>         # what is attached, and how big
curlew save <uid> --account <id>          # write the attachment to disk

curlew sync                               # build the local index
curlew index status                       # what it holds, and how fresh
curlew index search "wärmepumpe"          # offline, no server contact

curlew daemon                             # receive Signal/WhatsApp until stopped

curlew conversations list --people-only   # threads with a person in them, newest first
curlew conversations show <id>            # its messages; bodies only with --bodies
curlew conversations classify <address> automated   # correct one sender (auto = undo)

curlew backends list                      # message backends, and which are enabled

curlew contacts --query maier
curlew calendar --from 2026-09-01 --to 2026-09-30

Every command prints JSON — the same shapes the MCP tools return.

search returns headers only, never bodies; reading one message is a separate, explicit call, and getting an attachment's bytes a third. That is not a policy you can flip with a flag — the search path contains no code that can fetch a body.

--since and --before filter the message Date header, not its arrival time. After a mailbox migration every message's arrival timestamp is the migration date, which makes an arrival filter useless; --received-since is there when you genuinely mean arrival.

Search folds diacritics, so marz finds März. (ß is a letter rather than a diacritic, so grusse does not find Grüße.)

sync also groups mail into conversations by Message-ID, In-Reply-To and References, and classifies each one: conversational (a known contact, or a thread you replied in) or automated (List-Id, List-Unsubscribe, Auto-Submitted, Precedence, no-reply senders). A stranger nobody replied to is held back until you reply or classify the sender. This is the groundwork for chat backends (ADR 0001): each backend is enabled explicitly in the config, and one with a terms notice only after curlew backends enable <name> --accept-terms.

Telegram

Telegram requires every third-party client to use API credentials of its own user. Curlew ships none, so the first step is yours:

  1. Create an app for yourself at https://my.telegram.org → API development tools. You get an api_id (a number) and an api_hash (32 hex characters).

  2. Enable the backend (this shows Telegram's terms once) and log in. The login asks for the api_id and api_hash first (the hash without echo), then the phone number, the login code and the 2FA password if one is set:

    curlew backends enable telegram --accept-terms
    curlew accounts add telegram
    curlew accounts list --backend telegram
    curlew sync                      # mail and Telegram into one index
    curlew conversations list --people-only

    The api_id/api_hash are kept in the account's session file, not in the config (which is plain text in every backup; a config that carries them is refused). To keep them in a password manager instead, set CURLEW_TELEGRAM_API_ID and CURLEW_TELEGRAM_API_HASH; the environment wins over the stored pair and the login does not ask.

The first sync takes the newest 200 messages of every chat; later syncs walk forward from there, at most 5 000 messages per run (the rest follows on the next). A contact whose phone number is in your address book becomes the same person as their mail address. Channels and bots are classified automated.

A message deleted on Telegram stays in the index until a full scan: curlew sync --full-scan re-reads each chat's newest window and removes every stored message in it that Telegram no longer has, and every chat that left your list. (Telegram reports deletions only as live updates, which a sync without a daemon does not receive.) Below that window each full scan additionally asks Telegram about 200 stored messages per chat, oldest first, and continues where the last scan stopped — so a deletion deep in a long chat is found within a few full scans rather than never.

The login leaves a session file at $XDG_DATA_HOME/curlew/secrets/telegram/telegram-<user id>.db (mode 0600 in a 0700 directory; override the base with CURLEW_SECRETS_DIR). Whoever holds it can read your Telegram account (it also holds your api_id/api_hash): back it up like a password, never share it. A login killed halfway leaves a login-*.pending.db there; the next accounts add or account listing removes it once it is 15 minutes old. Telegram lists it under Settings → Devices as curlew, where you can end it; deleting the file ends it on this machine.

WhatsApp

Read this first. WhatsApp has no API for reading your own chats. Curlew uses Baileys, an unofficial reimplementation of the WhatsApp Web protocol. Using it violates WhatsApp's Terms of Service, and WhatsApp bans accounts it sees using unofficial clients — temporarily or for good. The ban hits your phone number. Enable this only if you accept that risk for that number.

Curlew joins your WhatsApp as a linked device, like WhatsApp Web:

curlew backends enable whatsapp --accept-terms   # shows the notice above once
curlew accounts add whatsapp                     # QR code, or a pairing code
curlew sync                                      # right away — see below
curlew conversations list --people-only

accounts add whatsapp asks for a phone number. Leave it empty and a QR code appears in the terminal: on the phone, WhatsApp → Settings → Linked devices → Link a device, and scan it (a new code appears every ~20 s). Or type the number (international, +49…) and enter the 8-character pairing code it prints under Link a device → Link with phone number instead. The device shows up in that list as a browser session (Baileys' default, Chrome (Mac OS)); unlink it there to end it.

WhatsApp keeps no archive. A message is gone from WhatsApp's servers once a device has received it, so what curlew stores is the only copy it has — its part of the index is irreplaceable, not a cache. Consequences:

  • Run curlew sync right after linking. The phone hands the recent history (roughly the last months) to a new device once. sync connects, receives that history and everything queued while no device of curlew was connected, writes it, and disconnects once WhatsApp has nothing more to hand over. If that does not happen within ten minutes, the run stops there and that is not an error: everything received is written and the run counts as a success. The only sign in the output is that account's caughtUp: false (error stays null), and whatever WhatsApp still had queued arrives in the next sync. Set backends.whatsapp.settings.fullHistory: true in the config before linking to ask for the full history instead — larger, slower.

  • Stay connected — the receiving daemon. WhatsApp unlinks a device that has not connected for about 14 days; after that, sync reports the logout and you link again (the conversations stay, under the same account id). curlew daemon holds the connection, so that clock never runs out; a sync from a timer is the fallback for a machine where the daemon does not run.

  • Back up the index ($XDG_DATA_HOME/curlew/index.db) like the config: with WhatsApp enabled it holds messages that exist nowhere else.

Deletions and edits are applied as they arrive: a message the sender deleted for everyone, or you deleted or cleared on your phone, is removed from the index; an edited one gets the new text. Contacts are linked by phone number to your address book, like Telegram's.

What curlew sends: nothing you could see. It connects with markOnlineOnConnect: false, so it announces itself unavailable (never online) and your phone keeps its notifications; it never sends a read receipt (the blue ticks stay yours). It does acknowledge each delivered message — the grey double tick every linked device sends, and the signal for WhatsApp to forget the message.

The link leaves a session file at $XDG_DATA_HOME/curlew/secrets/whatsapp/whatsapp-<LID>.db (mode 0600): the device's Signal keys. Whoever holds it can read your incoming WhatsApp messages — back it up like a password, never share it. The account id is your LID, WhatsApp's privacy id, never your phone number.

Signal

Read this first. Signal offers no API and does not license third-party clients. Curlew is not an official Signal client and Signal does not support it. It uses libsignal, Signal's own library, and links like Signal Desktop. Independent clients of this kind (signal-cli, Flare, Whisperfish) are used without known account bans, but Signal could block them at any time.

Curlew joins your Signal account as a linked device, like Signal Desktop:

curlew backends enable signal --accept-terms   # shows the notice above once
curlew accounts add signal                     # prints a QR code
curlew sync                                    # right away — see below
curlew conversations list --people-only

Linking, step by step:

  1. Run curlew accounts add signal. A QR code appears in the terminal.

  2. On the phone: Signal → Settings → Linked devices → Link new device (the +), and scan the code. If the terminal prints a fresh code, scan that one: Signal replaces the connection behind a code after a while.

  3. The phone asks you to confirm linking a device named curlew (set backends.signal.settings.deviceName in the config to change it). Confirm.

  4. The terminal says Linked. The phone now lists curlew under Linked devices; unlink it there to end it.

  5. Run curlew sync.

Signal runs on linux-x64 and macOS arm64 (libsignal is a native addon that curlew loads through gjsify's N-API host). On another platform the rest of curlew works; accounts add signal says libsignal did not load.

Signal keeps no archive. The server holds a message for a device only until that device receives it, so what curlew stores is the only copy — its part of the index is irreplaceable, not a cache. Consequences:

  • Curlew gets no history. A linked device receives what arrives after it was linked; the phone's older messages stay on the phone.

  • Stay connected — the receiving daemon. sync connects, receives what was queued, writes it and disconnects once Signal reports the queue empty. If the queue does not go empty within ten minutes, the run stops there and that is not an error: everything received is written and the run counts as a success. The only sign in the output is that account's caughtUp: false (error stays null), and whatever is still queued arrives in the next sync. Signal unlinks a device that stays offline too long; after that, sync reports it and you link again (the conversations stay, under the same account id), and curlew daemon holds the connection so it does not come to that.

  • Back up the index ($XDG_DATA_HOME/curlew/index.db) like the config.

What arrives: direct and group messages (sealed sender included), your own messages sent from the phone, edits, deletions (for everyone, and the ones you make on the phone), read receipts for your messages, and the contact list when the phone sends it (it does after linking and when contacts change; the download needs Node for now, see below). Groups appear without their name — Signal keeps group names encrypted on its group server, which curlew does not query. Reading a chat on the phone is not mirrored: messages arrive unread. Reactions, typing, calls and a disappearing-messages timer are read and dropped on purpose; they are settings, not messages.

Two things curlew reports instead of swallowing:

  • A changed safety number shows up in that contact's conversation as a Safety number changed notice — already read, never unread. Compare the number on the phone before you trust the conversation.

  • A message curlew decrypted but could not read (a message type a newer Signal added, or a bug in the decoder) is not thrown away: the raw plaintext goes into the session file, and sync reports how many. Nothing is lost on Signal's side either — curlew only acknowledges an envelope once that plaintext is on disk. curlew deliveries set-aside lists them: who sent it, when, why curlew could not map it and how big the plaintext was — enough to look the message up on the phone or to report a decoder bug. The plaintext itself is never printed, and no flag prints it.

What curlew sends: at link time, two requests — it registers the device with the one-time code the phone sent, and publishes one batch of pre-keys so contacts can start encrypted sessions with it. During sync, only the acknowledgement of each received message (without it Signal would deliver it again), and only after the message is written to disk. Never a message, a read or delivery receipt, a typing notice, a request to the phone, or a retry request for a message it could not decrypt — sync counts those and reports them.

The link leaves a session file at $XDG_DATA_HOME/curlew/secrets/signal/signal-<ACI>.db (mode 0600): your account's identity key and this device's keys. Whoever holds it can read your incoming Signal messages — back it up like a password, never share it. The account id carries your ACI (Signal's account UUID), never your phone number.

Known gap: the contact list is downloaded from Signal's CDN, which needs Signal's own root certificate; on GJS, gjsify's node:https does not take one yet, so sync reports the contact list as not read and people appear by their Signal id until the next contact sync after that is fixed.

XMPP

Curlew reads XMPP history only from the server's message archive (MAM, XEP-0313), which Prosody (mod_mam, mod_muc_mam) and ejabberd offer. A server without one is refused with an explanation: the alternative, receiving offline messages, would take them away from your other clients.

curlew backends enable xmpp
curlew accounts add xmpp        # JID, password (no echo), server address
curlew sync

The server address may stay empty: Curlew then looks up direct TLS (_xmpps-client._tcp SRV, XEP-0368), then WebSocket (host-meta, XEP-0156), then STARTTLS. The certificate is checked against your XMPP domain. All three endpoint kinds work on GJS as of the gjsify release Curlew runs on (0.54.0): the raw TLS socket landed in gjsify#1837 and the last piece, Readable.prototype.addListener aliased to on, in gjsify#1958 — without it @xmpp/tls subscribed to the peer's bytes through addListener and the stream sat at "opening" until the login timed out. A server with its own CA: set backends.xmpp.settings.tlsCaFile to the PEM file. A publicly-trusted certificate is checked reliably; a custom one is checked unreliably on GJS, because gjsify decides it in a JS accept-certificate callback that GIO emits on its handshake thread and GJS blocks. Measured 1 of 20 logins refused with a certificate error on 0.54.0 (2 of 12 before), so a custom-CA server may need a second attempt there.

The login uses SCRAM-SHA-1 and sends a password in the clear (PLAIN) only inside TLS. The password is kept in $XDG_DATA_HOME/curlew/secrets/xmpp/xmpp-<hash>.db (0600), never in the config — a config that carries one is refused.

Chats are your roster contacts and the bookmarked rooms you join automatically. Corrections (XEP-0308) replace the stored text, retractions (XEP-0424/0425) remove the message. OMEMO-encrypted messages are indexed without their text: Curlew cannot decrypt them yet.

Matrix

Matrix is an open protocol, so there are no terms beyond your homeserver's own. Log in with your homeserver, user and password:

curlew backends enable matrix
curlew accounts add matrix       # homeserver URL or server name, user, password
curlew sync

The login creates a new device named curlew (it appears in your session list in Element and every other client) and uploads its encryption keys. Only password login is supported: a homeserver that offers single sign-on alone — matrix.org, since its move to the Matrix Authentication Service — is refused with that reason for now.

Encrypted rooms are decrypted where this device holds the room key. That is every message sent after the login: senders encrypt for the new device from then on, and its keys arrive with each sync. Messages sent before it show as [encrypted message: this device has no key for it]: reading them needs your server-side key backup or a verified session sharing its keys, and neither is built yet. Curlew remembers such placeholders and tries them again on every sync, so a key that arrives later still turns them into text.

Curlew never shows you as online (every sync says set_presence=offline) and never sends a read receipt, a typing notice or a message: a read-only gate refuses every request outside login, the sync filter and the encryption key exchange before it leaves the machine. The device's crypto store is saved after every sync step, before the server is told the keys arrived, so even a crash loses no key.

The first sync takes the newest 200 messages of every joined room, later syncs walk forward. Edits and redactions arrive as events of their own and are applied on the next sync — a message redacted on the server is removed from the index without a full scan. Rooms you are only invited to are left alone.

The login leaves an account file at $XDG_DATA_HOME/curlew/secrets/matrix/matrix-<hash>.db (mode 0600). It holds the access token and the device's crypto store (its identity keys and every room key it received): back it up like a password. Losing it means a new login, a new device, and no key for anything sent before it. To end the session, sign the curlew device out in another client and delete the file.

Receiving daemon

Signal and WhatsApp have no server archive: a message is gone from the network once this device acknowledged it, so whatever curlew stores is the only copy. curlew sync from a timer narrows the window in which nothing is received; curlew daemon closes it.

curlew daemon                   # receive until stopped (SIGTERM/SIGINT)

It connects to every delivery-only backend you enabled — Signal and WhatsApp — for every account, all at once, and keeps receiving. Mail and chat backends (IMAP, Telegram, Matrix, XMPP) stay on curlew sync: they are pull models with a cursor, and a daemon buys them nothing. A dropped connection is retried with growing pauses (5 s to 5 min); a device the network logged out or unlinked is not retried — the daemon stops that account and says so, because the credentials are gone and every retry would fail the same way while messages queue up on the network.

Run it as a user service (the unit ships in contrib/systemd/curlew-daemon.service):

mkdir -p ~/.config/systemd/user
cp contrib/systemd/curlew-daemon.service ~/.config/systemd/user/
# point WorkingDirectory/ExecStart at your checkout if it is not ~/curlew
systemd-analyze --user verify ~/.config/systemd/user/curlew-daemon.service
systemctl --user daemon-reload
systemctl --user enable --now curlew-daemon
loginctl enable-linger "$USER"     # so it also runs while you are logged out
journalctl --user -u curlew-daemon -f

Mail and the pull-model chats need a timer instead: contrib/systemd/curlew-sync.service plus curlew-sync.timer run curlew sync 15 minutes after the previous run ended.

cp contrib/systemd/curlew-sync.{service,timer} ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user enable --now curlew-sync.timer

The unit deliberately does not stop when you log out — staying connected is its whole point, and the one thing it uses from your session (the address book, for the participant link) is optional: without it it still receives, and the link appears on the next rebuild. loginctl enable-linger is what lets a user unit run at all while you are not logged in.

The daemon writes one line per state change to stderr, which journald collects — connected, a batch with its counts, a reconnect in N seconds, a logout, a stop. Never message text, chat titles, peer names or phone numbers: a log line is a file that gets copied and pasted around, and the same privacy rule that guards the index guards it.

And sync at the same time? Yes — and that is what the lease is for. Both take a lease on each delivery account, stored in the index itself: whoever holds it refreshes it every 30 seconds and drops it when it stops. A sync that finds a live lease reports that account as received by the other run and moves on — not an error, because nothing failed. A daemon that finds one waits for it and takes the account as soon as it is free, rather than never receiving it: that includes a sync in the middle of a WhatsApp catch-up, which can run for ten minutes. Two connected devices on one Signal account would each acknowledge half the messages, so this is what keeps the copy whole. A run that was killed leaves a lease behind, which expires by itself after 90 seconds.

Stopping is a normal end: SIGTERM (or systemctl stop) closes every session, writes what was in flight, rebuilds the conversations once and exits 0. It is never a kill — an unacknowledged message is still on the network, and a written one must never be lost.

When the unit fails. If every account was logged out — WhatsApp unlinked the device after ~14 days, or Signal did the same — the daemon exits 2, the unit is not restarted (a restart cannot relink anything) and shows as failed:

systemctl --user status curlew-daemon   # "code=exited, status=2"
journalctl --user -u curlew-daemon -n 20
curlew accounts add whatsapp            # or: curlew accounts add signal
systemctl --user restart curlew-daemon

Anything else exits 0, including a plain systemctl stop.

What the daemon does not do: send anything, mark anything read, or touch a server-archive backend. It is the same read-only curlew, connected all the time. See ADR 0002 for why each piece is the way it is.

As an MCP server

curlew mcp speaks MCP over stdio. Registered in an MCP client it exposes mail_search, mail_get_message, mail_list_folders, mail_list_parts, mail_save_attachment, mail_search_local, mail_sync_status, conversations_list, conversations_get, contacts_search, calendar_list_events and accounts_list.

The server is read-only by default and fails closed: a tool is registered only if it declares itself read-only, so a future tool that forgets the annotation is silently withheld rather than silently exposed.

See .mcp.json for a working registration.

Your data stays yours

The local index contains message headers and plain-text bodies. It lives at $XDG_DATA_HOME/curlew/index.db (mode 0600), never inside this repository, and only curlew sync and curlew daemon ever write to it — a search never does. Attachments are saved to your download directory. Both locations are overridable via CURLEW_DATA_DIR, CURLEW_DB_PATH and CURLEW_ATTACHMENTS_DIR.

Your decisions — enabled backends, accepted terms, per-sender classification — live in $XDG_CONFIG_HOME/curlew/config.json (mode 0600, override with CURLEW_CONFIG). Unlike the index they cannot be rebuilt from a server, so back that file up. Keys this build does not know are kept when it saves the file.

Writes are off unless granted (ADR 0004). grants lists capabilities, each bound to exactly one target; no wildcards, and a missing or empty list denies everything. A malformed entry, an empty target or an unknown capability is an error when the file loads.

{
  "grants": [
    { "capability": "xmpp.send", "target": "<account>/<address>" }
  ]
}

This only reads and validates the grants; no tool or command writes yet.

Chat sessions (Telegram, WhatsApp, Matrix — including Matrix's crypto store) and chat passwords (XMPP) are secrets, kept apart from the index under $XDG_DATA_HOME/curlew/secrets/ — no command or MCP tool ever returns one. The index can be rebuilt from the servers unless WhatsApp is enabled: WhatsApp keeps no archive, so its messages in the index are the only copy (curlew backends list shows this as storeTier: state).

Nothing is sent anywhere. Curlew talks to your mail server — and to Telegram, WhatsApp, your XMPP server or your Matrix homeserver if you enabled them — and to nothing else.

Releasing

A tag v* pushed to the repo (git tag v0.1.0 && git push --tags) builds every installable format and attaches them to a GitHub release: .deb/.rpm and macOS (arm64 + x64) / Windows (x64) packages, via release.yml. workflow_dispatch re-cuts artifacts for an existing tag without moving it (tag + publish inputs).

GOA and Evolution Data Server are Linux-only. The macOS and Windows packages still build and ship — they carry the same curlew CLI and MCP server — but every account backend (mail, contacts, calendar; also the chat/delivery backends that depend on @curlew/gnome for credentials) reports itself unavailable on those two platforms, because the GObject- Introspection libraries GOA/EDS need do not exist there. Today that is the honest state of the macOS/Windows artifacts: a working binary with no working account source. Closing that gap — a platform-native credential and sync layer for macOS/Windows — is open work, not a bug in these packages.

No Flatpak: GOA talks to the session bus directly, and a Flatpak sandbox cannot reach it without a portal this project does not implement, so a Flatpak build would silently ship with every account unavailable rather than failing loudly.

Local verification, mirroring what CI does on fedora:44:

gjsify workspace curlew-cli build:node   # darwin/win32 ship `dist/curlew.node.mjs`
gjsify install --os darwin --cpu arm64 --immutable
(cd app && gjsify ship darwin --arch arm64 --skip-build --target macos-app-zip)
gjsify install --os win32 --cpu x64 --immutable
(cd app && gjsify ship windows --arch x64 --skip-build --target windows-dir-zip,msi)
(cd app && gjsify ship linux --stage)   # needs gir1.2-*/typelib packages to assert .deb/.rpm fully
gjsify install   # back to the plain install afterwards

Unsigned on both macOS and Windows, by design (ADR 0024 § A13 in gjsify) — a legitimate deliverable, not a placeholder. Where signing would attach, on a runner that holds the identity:

  • macOS — gjsify ship darwin --arch <arch> --skip-build --target macos-app-zip --sign <identity> (Developer ID; --notarize <keychain-profile> on top)

  • Windows — same shape, --sign <certificate thumbprint or PFX path> reaching signtool (unverified upstream: no gjsify run has invoked it)

Development

See AGENTS.md.

License

AGPL-3.0-or-later © Pascal Garber.

The apps (app/) are AGPL-3.0-or-later. The reusable packages under packages/ are LGPL-3.0-or-later, each with its own LICENSE and COPYING, so other programs can link them. The exception is @curlew/signal, which stays AGPL-3.0-or-later: it builds on libsignal-client (AGPL-3.0-only) and contains code ported from Signal Desktop.

Free to use, modify and share. The AGPL adds one condition to the GPL: anyone who runs this program as a network service must offer that service's users the source of their version. Running it locally for yourself adds no obligation.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    An MCP server that gives AI assistants comprehensive access to Apple Mail accounts, enabling email discovery, reading, flag management, and server-side message retrieval.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for GNOME Evolution that enables calendar and email operations such as listing calendars/events, sending emails, and searching messages through the Evolution Data Server.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    MCP server that connects Gmail and Google Calendar to AI assistants, enabling email search, reading, sending, and calendar management across multiple accounts with secure OAuth.
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    An MCP server that gives AI agents full read and organizational access to multiple Gmail accounts — and no ability to send, trash, or delete mail.
    MIT