Thanks, but is there a way to do it just for the inbox and not every folder though? I couldn't find a way to specify just the inbox and leave other folders alone.
I'm, assuming youi are moving other mail using rules? Move them to the top of the list and use stop processing in the rules. The last rule applies to what's left.