Is there a way to limit Mail to only keep the last 50 mails? Is there a way to limit Mail to keep only the last 50 emails and delete the older ones? I am using gmail, and most of the stuff are kept there, I do not need to have everything downloaded to the Mail client. Trying to save some HDD space, as I used to have a few gigs of mail stored in /library/mail 

Using OS X Lion.

Thanks.
Mail can do something sorta like what you want.


Mail > Preferences 
Accounts tab 
Mailbox Behaviors tab 
Trash section


On the line that says "Permanently erase deleted messages when", you can select one month old or one week or even one day.  That will help get rid of old email and save you some space.