I'm trying to parse a mailbox based on the unread flag. I've looked at your example and am able to read mail based on a number of filters, (from, to dates etc) but my unread filter doesn't work. Can you tell me how I need to set the filter to pick up only unread mail please?