Here is a very similar project: https://emailengine.app/
Similar to Bichon, it also has a commercial license[1]:
> EmailEngine is not free open-source software. It is "source available" software, meaning you can view and copy the source code, but you need a paid subscription[2] to run it beyond the free 14-day trial. Each EmailEngine instance comes with this trial, so you can test EmailEngine without any commitment.
EmailEngine is based on ImapFlow[3], a modern and easy-to-use IMAP client library for Node.js that is MIT-licensed.
[1] https://github.com/postalsys/emailengine/blob/master/LICENSE...