public override void Categorize() { //If this is one of our own mails, moved to inbox, don't update categories if (!DoNotUpdateCategories) { var pmi = _item.ParentMailItem(); if (pmi == null) { return; } Categories = pmi.Categories; Save(); } }