MailItem item = mbox.getItemByPath(ctxt.getOperationContext(), ctxt.getPath(), 0, false);
MailItem item = mbox.getItemByPath(ctxt.getOperationContext(), path.toLowerCase(), 0, false);
	public static void deleteResource(DavContext ctxt) throws DavException {		String user = ctxt.getUser();		if (user == null)			throw new DavException("invalid uri", HttpServletResponse.SC_NOT_FOUND, null);		try {			Provisioning prov = Provisioning.getInstance();			Account account = prov.get(AccountBy.name, user);			if (account == null)				throw new DavException("no such account "+user, HttpServletResponse.SC_NOT_FOUND, null);			Mailbox mbox = MailboxManager.getInstance().getMailboxByAccount(account);			MailItem item = mbox.getItemByPath(ctxt.getOperationContext(), ctxt.getPath(), 0, false);			mbox.delete(ctxt.getOperationContext(), item.getId(), item.getType());		} catch (ServiceException e) {			throw new DavException("cannot get item", HttpServletResponse.SC_NOT_FOUND, e);		}	}