Click Tools > Options. For Mac, click Preferences > Options.
Click History.
Specify the number of days to keep messages in the history.
Click Delete History to delete the history that is older than the number of days selected.
Click OK.