1. How do you delete all PM's in the systems that are older than 30, 60, or 90 days... or one year?

2. How do you make that annoying flashing envelope stop when there are no messages?

This happens when you delete users that sent PM's
The PM's get deleted but the envelope keeps on flashing

3. What would be the database command to be able to read all PM's that says certain words like "viagra" for example?
To find the Spammers

Thank you