by godwit-email
Open-source, AI-native desktop email client for macOS, Windows and Linux. Your mail stays yours: data is masked locally before any model sees it.
# Add to your Claude Code skills
git clone https://github.com/godwit-email/godwitgodwit is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by godwit-email. Open-source, AI-native desktop email client for macOS, Windows and Linux. Your mail stays yours: data is masked locally before any model sees it. It has 171 GitHub stars.
godwit's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/godwit-email/godwit" and add it to your Claude Code skills directory (see the Installation section above).
godwit is primarily written in Go. It is open-source under godwit-email on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh godwit against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
https://github.com/user-attachments/assets/29ee980c-73a5-47f0-a736-b01828c22785
Godwit is a desktop email client for macOS, Windows and Linux. It works with any IMAP/SMTP account and ships with an AI assistant, Wit, that reads, summarizes, translates and drafts mail with the model you choose. Before anything goes to a cloud model, names, account numbers, phone numbers and keys are masked on your machine. Everything AI in it, the built-in features included, runs through the same extension points open to you: drop in a SKILL.md and a button appears.
The name comes from the bar-tailed godwit, which holds the record for the longest non-stop bird flight.
.eml files can be imported into a local archive.SKILL.md (Agent Skills) in the data directory's skills/ folder becomes a Wit skill, or an action button with godwit-action-* metadata.sdk/godwit.d.ts, published as @godwit/sdk (npm i -D @godwit/sdk). Plugins can read mail and write drafts; none can send.sdk/native/godwit_plugin.h), for what a sandbox cannot do. It runs with all of Godwit's rights, so Godwit shows the risk and asks you to allow that exact file; a changed file needs your permission again.godwit mcp is an MCP server that lets Claude, Claude Code, Codex, Cursor and any other MCP app read your mail and create drafts. Sending through MCP is your setting: by default each send waits for you to confirm it, and you can turn it off or let it send directly. Turn on the Local API under Settings › Intelligence › AI apps and copy the client configuration from there.Download the latest build from godwit.email:
macOS: the .dmg, or with Homebrew:
brew install godwit-email/tap/godwit
Windows: the installer, which installs for the current user without admin rights, or Godwit on the Microsoft Store, which the Store updates.
Linux: the .deb, or install for the current user (no root) with:
curl -fsSL https://dl.godwit.email/install.sh | sh
Every release is built from its tag by release.yml, which signs build provenance for each file it uploads. Check that a download was built here, and from which commit, with the GitHub CLI:
gh attestation verify godwit-1.30.0-arm64.dmg --repo godwit-email/godwit
For the Microsoft Store version, verify Godwit.exe in its install folder (Get-AppxPackage BaranWang.Godwit shows where). The app also records its commit: go version -m on the executable prints it as vcs.revision.
godwit [--data-dir DIR] the desktop app
godwit --headless [--data-dir DIR] serve the Local API without a window
godwit call [--data-dir DIR] METHOD [JSON_ARGS_ARRAY] call the running Godwit once
godwit mcp [--data-dir DIR] an MCP server on stdio for agents
godwit dev-sync-db replace the dev database from production (development builds only)
godwit --version
On macOS and Windows, 后台收信 › 一直继续 starts Godwit's backend when you log in. Linux leaves that to you: run godwit --headless as a systemd user service, and the desktop app connects to it when you open it. Save this as ~/.config/systemd/user/godwit.service (adjust the path to godwit):
[Unit]
Description=Godwit backend
# After the desktop session has exported DISPLAY or WAYLAND_DISPLAY: the
# backend decides at start whether it can show notifications and a tray.
After=graphical-session.target
PartOf=graphical-session.target
[Service]
ExecStart=%h/.local/bin/godwit --headless
Restart=on-failure
[Install]
WantedBy=graphical-session.target
systemctl --user enable --now godwit
A backend you start this way keeps running when the app quits and always serves the Local API to other programs of your user.
Godwit keeps passwords, refresh tokens and API keys in the system keychain. A Linux server with no desktop session or Secret Service has none; there you can choose an encrypted file instead (AES-256-GCM), with the key in a separate file you manage. Set both variables for the backend (godwit --headless), for example in the systemd unit's [Service] section:
mkdir -p ~/.config/godwit ~/.local/share/godwit
(umask 077 && set -C && openssl rand -hex 32 > ~/.config/godwit/keyring.key)
Environment=GODWIT_KEYRING_FILE=%h/.local/share/godwit/keyring
Environment=GODWIT_KEYRING_KEY_FILE=%h/.config/godwit/keyring.key
The key file holds 64 hex characters and must not be readable by anyone else (0600 or narrower), or the backend refuses to start; so does setting only one of the two variables. set -C makes the command fail instead of replacing a key that already exists: a new key cannot decrypt the old keyring, so every saved credential would have to be entered again. Godwit creates the keyring file (0600), and a .lock file beside it, on the first credential it saves; its directory must exist. Backends of several data directories can share one keyring file. This works on Linux and macOS; on Windows, which always has its credential manager, the variables are refused. Without the variables nothing changes: credentials stay in the system keychain, and Godwit never falls back to a file on its own. Anyone with both files can read your credentials, so keep the key off backups that also hold the keyring.
Godwit is written in Go on MyGo: the main window is native UI, while compose, the Wit page and the message reader are React pages in web/. mise installs the pinned Go and Bun:
mise install
mise run generate # install web dependencies and generate Go/TypeScript code before Go tests
mise run dev # run the app, reloading on changes
mise run dev:sync-db # replace the dev database from production; stop both apps first
go test ./... # Go tests
mise run web:check
mise run build # package for this machine into dist/
Native and web UI translations share internal/i18n/en.json and zh-Hans.json, using ICU MessageFormat. Edit these catalogs, run mise run generate to update