Using the following Exchange Management Shell command you can cleanup emails from a mailbox such as one used to catch spam emails:

You can also check the number of items in the mailbox by issues the following command: