public Folder[] list(String pattern) throws MessagingException {
   return folder.list(pattern);
 }
 public Folder[] list() throws MessagingException {
   return folder.list();
 }