I found the following set of scripts at techrepublic.com
Running the scripts after customising the variables to match your/your company's email address and smtp server will setup Database Mail on your database server.
For more information on how Database mail works see techrepublic.com