replace "in:inbox" with your folder. For example "in:sent" or "in:MyFolder"
Not sure how to do sub folders though... You can add other search parameters such as date inside the quotes:
zmmboxsearch -q "in:inbox date:04/19/2009" -m
user@somwhere.net -d /var/tmp