SpeedMail basically is a quick GUI application that runs the following:

sqlite3 ~/Library/Mail/Envelope\ Index vacuum

This basically compresses the SQL database that your mail is stored in which in effect speeds up your Mail.app application. Pretty simple, but effective. If you don’t want to have a nice finished GUI that basically runs a terminal window to do this, then just open up a terminal window and run that command yourself. Same effect.