@Override
public String intercept(ActionInvocation invocation) throws Exception {
IWebMailManager webmailManager = (IWebMailManager) ApsWebApplicationUtils.getBean(JpwebmailSystemConstants.WEBMAIL_MANAGER, ServletActionContext.getRequest());
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;
}