Use inbox

I changed a bunch of code in the `imap.js` file to use `inbox` and `mailparser` instead of their original stack. Right now, the 10 most recent messages along with the content is loaded. Attributes like read status, flags, etc. are not loaded yet.