Enter a name for the Smart Mailbox.
For example, if you create a Smart Mailbox to organise emails from your football group that include an attachment, you could call it Football schedules.
Specify the criteria.
Change, add or remove conditions, or change other criteria.
Click OK.
In the Mail app Create or delete mailboxes in Mail on Mac