The better way is to use Mailwasher, they have a free version:

http://www.mailwasher.net/download.php