Fix listing imap folder onConnect