Error message when trying to send SQL 2005 mail:
No global profile is configured. Specify a profile name in the @profile_name parameter.
I did this by accidentally deleting the default profile, it took me a half an hour to figure out how to set it again.
To fix: