Installation
To use IMAP mailbox, you need to install the library :
- npm
- Yarn
npm install imap-mailbox
yarn add imap-mailbox
To import IMAP mailbox in your project :
- ESM
- CJS
import Imap from 'imap-mailbox';
const Imap = require('imap-mailbox').default;
In the next part, we will see how to configure the mailbox.