Unfortunately not. We gave a lot of thought to open-sourcing the underlying system, but this is ultimately not something we will support.
[1] http://www.mailboxapp.com/faq/