Store store = this.getStore(webmailManager);
if (null == store) return "noStore";
IWebMailBaseAction webMailAction = (IWebMailBaseAction) invocation.getAction();
webMailAction.setStore(store);
String result = invocation.invoke();
webMailAction.closeFolders();
webmailManager.closeConnection(store);
return result;
}
private Store getStore(IWebMailManager webmailManager) {