Hi Dick,
I don't believe there is any setting so that messages are automatically deleted after a certain time, except for those in the Junk folder or in the trash. You can set how long messages should be left in the mail trash before they're permanently deleted with the Preferences > Accounts.
Dave