keep state for every imap folder