if (mMaxNotifySeq != -1) { context.addElement(ZimbraNamespace.E_NOTIFY).addAttribute(ZimbraSoapContext.A_SEQNO, mMaxNotifySeq); }
    protected String generateSoapMessage(Element document, boolean raw, boolean noSession, boolean noNotify, String requestedAccountId) {    	if (raw) {            if (mDebugListener != null) mDebugListener.sendSoapMessage(document);    		return SoapProtocol.toString(document, mPrettyPrint);        }                Element context = ZimbraSoapContext.toCtxt(mSoapProto, mAuthToken, mTargetAcctId, noSession);        ZimbraSoapContext.addSessionToCtxt(context, mSessionId, noNotify);        if (mUserAgentName != null) {            ZimbraSoapContext.addUserAgentToCtxt(context, mUserAgentName, mUserAgentVersion);        }        if (requestedAccountId != null) {            context.addElement(ZimbraSoapContext.E_ACCOUNT).addAttribute(ZimbraSoapContext.A_BY, ZimbraSoapContext.BY_ID).setText(requestedAccountId);        }        Element envelope = mSoapProto.soapEnvelope(document, context);        if (mDebugListener != null) mDebugListener.sendSoapMessage(envelope);        String soapMessage = SoapProtocol.toString(envelope, getPrettyPrint());    	return soapMessage;    }