data.contentChanged(mbox);
   static UnderlyingData createItemData(Folder folder, MailItem parent, ParsedMessage pm,                                         int msgSize, String msgDigest, boolean unread,                                         int flags, long tags, DraftInfo dinfo, int id,                                         byte type,                                         Metadata meta)     throws ServiceException {        if (folder == null)            throw MailServiceException.CANNOT_CONTAIN();        if (meta == null)            meta = new Metadata();        meta.copy(assembleMetadata(pm, flags, dinfo, null));        Mailbox mbox = folder.getMailbox();        UnderlyingData data = new UnderlyingData();        data.id          = id;        data.type        = type;        if (parent != null)            data.parentId = parent.getId();        data.folderId    = folder.getId();        data.indexId     = id;        data.date        = (int) (pm.getReceivedDate() / 1000);        data.size        = msgSize;        data.blobDigest  = msgDigest;        data.flags       = flags;        data.tags        = tags;        data.sender      = pm.getParsedSender().getSortString();        data.subject     = pm.getNormalizedSubject();        data.metadata    = meta.toString();        data.modMetadata = mbox.getOperationChangeID();        data.modContent  = mbox.getOperationChangeID();        data.unreadCount = unread ? 1 : 0;         return data;    }