The label function lets you label (color code) a message based on one of five different categories. You can do this manually by right clicking on a message and selecting the Label option and preferred category, as shown below, or automatically by creating a message filter as explained in the section on Filters.
