Mailspring is a free mail client for Mac, Linux and Windows (a paid Pro version is also available). Mailspring's UI is open source (GPLv3). It is built on a plugin architecture and is designed to be easy to extend.
I have started using Mainspring on macOS recently, and since I find keyboard shortcuts important when using an email client efficiently, Mailscript's highly configurable keyboard shortc …