add folder changing and message listing.