The following tutorial describes the steps to create inbox rules that can automatically manage your messages as you receive them.
Select the gear icon in the upper-right corner of the screen and under My app settings, select Mail.
Under the Automatic processing heading, select Inbox Rules
Click the plus (+) icon to create a new rule
Select the appropriate criteria for the rule you wish to implement and select Ok to set the rule.