Description
We found two booleans in the signature of MessageManager::setFlags method. We found that this is unclear. We want to introduce a constant to replace these two boolean by something that is easily to undestand.
We also noticed that each mailbox have the same code fragment for transforming stored flags to their new value. We abstracted this process with an helper class.