Select a mailbox in the Mail sidebar, then click its name.
You can also Use Smart Mailboxes in Mail on Mac