Hi all,
One of the mail clients I have used extensively in the past has this concept and it makes life very easy. Some of the available settings which I most use are:
1.- Delete duplicate messages
2.- Automatically delete messages older than the specified age.
3.- Automatically limit the number of messages in a folder.
Regards.