This is really cool, and nice design!
I work at Nylas and would love to incorporate some of this into N1, which is an open source mail app we built that also uses Electron. (https://nylas.com/n1).
If the author's hanging out in this thread, feel free to email me :) We could also make it work for non-Gmail using our open source IMAP stack!