Delete Mail after X Days in Local Folders

Hello. Emails by rules have been moved to folders in the Local Folders category. Some of them I don’t need all the time and would like to “get rid of” them after x days. Is there a way to do this?

Unfortunately, we do not have a timed deletion for normal folders.
You can only clear messages from Trash on exit or clear messages in Junk folders after a set amount of days (both in Menu>Settings>General>General)