Basic node-imap usage example and rest API access