Use the pop-up menus and text fields to define the criteria for the mailbox, then click OK.
You can also copy an existing Smart Mailbox. Select it in the Mail sidebar, then choose Mailbox > Duplicate Smart Mailbox.
In the Mail app Use iCloud Drive to store documents.