Set up folders in Mozilla and filter emails to it


Customer Service
Normally I help answer questions but now I have a question. Is there a way to set up a folder in my thunderbird to filter emails that are already in my inbox? I should have done this a long time ago. I often email pictures from my phone to my email that I want to save and now they are all mixed in with my other mail. I didn't think to make a folder until now. Is it possible to make a folder and then force the old emails that fit the rules for the folder to move into that folder or do I have to do each one manually?