You just need to copy the com.apple.mail.plist file from your Home>Library>Preferences folder to the same location on your new machine, and also copy the Mail folder from Home>Library>Application Support to the same place on your new machine.
Thats all there is to it, although they should have an export function...