added initial imap list support to api#