Delete marked mail after x days

A nice feature would be to mark an e-mail with a tag and after x-days this mail is automatically deleted.
The reason for this is mails like package tracking, weather, newsletter or other mails containing info I only need for a few days, and then they can be deleted.