public JsonResult MailMultiRemoveFlags(List <string> uniqueId, MessageFlags messageFlags)
 {
     try
     {
         MailRepository mailRepository = Session["MailRepository"] as MailRepository;
         return(Json(mailRepository.MultiRemoveFlagsAdvanced(uniqueId, messageFlags), JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(false, JsonRequestBehavior.AllowGet));
     }
 }