created definitions for imap npm package