midx.reIndexItem(mbox, msg, MailItem.TYPE_MESSAGE);
midx.reIndexItem(mbox, msg, MailItem.TYPE_MESSAGE, true);
    public void reIndexMsg(int mailboxId, int msg) {        MailboxIndex midx = null;        try {            Mailbox mbox = MailboxManager.getInstance().getMailboxById(mailboxId);            midx = mbox.getMailboxIndex();              midx.reIndexItem(mbox, msg, MailItem.TYPE_MESSAGE);        } catch(Exception e) {            outputStream.println("Re-index FAILED with " + ExceptionToString.ToString(e));        } finally {            if (midx != null) {                midx.flush();            }        }    }