Source code

Mailspring on GitHub: source code, releases and building it yourself

Illustration: The two repositories, where release files are, the GPLv3 licence and how to run a development build.

"Mailspring GitHub" searches usually come from one of three people: someone who wants the installer without the website, someone checking that the app really is open source, or a developer who wants to build or extend it. Here's what's on GitHub for each of them.

The two main repositories

Mailspring's code is published by the Foundry376 organisation, the company behind the app. Two repositories matter:

  • Foundry376/Mailspring: the desktop app you see. It's written in TypeScript on Electron and React, built around a plugin architecture, and styled with CSS-based themes.
  • Foundry376/Mailspring-Sync: the sync engine. This C++ and C program, based on Mailcore2, connects to your IMAP and SMTP servers, downloads mail and keeps the local database current. The Electron app starts it and it runs locally on your computer.

The README describes Mailspring as a new version of Nylas Mail, maintained by one of that project's original authors. Replacing the old JavaScript sync code with the C++ engine is the big change: the project says it uses roughly half the RAM and CPU of Nylas Mail.

What the GPLv3 licence means for you

Both the app and the sync engine are licensed under the GNU General Public License v3. In practice:

  • You can read, audit, modify and redistribute the code.
  • If you distribute a modified version, you must make your source code available under the same licence.
  • The licence covers the code, not the Mailspring name or branding.

Open source doesn't mean every feature is free to use. Pro features such as read receipts, link tracking and unlimited snooze rely on Mailspring's subscription and services. See Mailspring free vs Pro for the split.

Getting installers from GitHub Releases

Every version is tagged on the repository's Releases page, with release notes and attached files for each platform: the Windows setup file, Mac builds, and Linux .deb and .rpm packages. Since 1.17.0, all builds for macOS, Windows and Linux are produced by GitHub Actions, so the files on the Releases page come from the same pipeline as the app's own updates.

Release notes also live in CHANGELOG.md. As of November 2026 the newest entry is 1.26.2 (22 October 2026), a bug-fix release after the 1.26.0 sync engine change that tracks every folder a message is in.

Tip

Use GitHub Releases when you need an older version or a specific build. For a normal install, the button in our Download section is quicker.

Running Mailspring from source

To hack on the interface, you don't need to compile the C++ engine. In a development environment, Mailspring downloads the latest shipped sync engine binary for your platform, so you skip its compile-time dependencies. The usual flow looks like this:

git clone https://github.com/Foundry376/Mailspring.git
cd Mailspring
npm install
npm start

Check CONTRIBUTING.md in the repository for the Node.js version and platform packages the current branch expects, because these change as Electron is upgraded. Release 1.21.0 replaced the old Grunt build with a standalone Node.js script and added an option to skip installer creation, which helps when you only want a local build.

Plugins and themes

Most of Mailspring's features are themselves plugins, and you can write your own. The project publishes plugin getting-started docs (linked from the README) and a Mailspring-Theme-Starter repository for building CSS themes. A plugin store has been described as "coming soon" for some time, so for now plugins are installed manually from a folder.

Plugin authors got a small but useful hook in 1.24.1: plugins can now add items to the message "…" menu.

Issues, support and forks

Use GitHub Issues for reproducible bugs, with your version number, platform and steps. For "how do I…" questions, the Mailspring community forum at community.getmailspring.com is the better place. The older Zendesk help centre is being phased out in favour of it.

You'll also find forks. The best known, Mailspring Libre, was created to remove the Mailspring ID requirement. Its maintainers later noted that the upstream builds can be used without signing in, which removes the main reason to switch. If you use a fork, remember that it updates on its own schedule.