Currently the only way to configure the email settings used by the OpenMRS Message Service is to set these via global properties. However, this includes settings like the mail user and mail password that are better secured and managed as runtime properties.
For backwards compatibility, we should continue to support these global properties. However, one should be able to also set / override these values through runtime properties (or even system properties). This would also be a valuable utility to offer up in the API in general - to be able to get a configuration value that could be defined in any of system / runtime / global properties, where system > runtime > global in terms of precedence.
Burke, I know you have a lot of opinions about configuration in general. I'm not trying to solve our entire configuration issue, just provide the ability to secure / override certain existing global properties better if desired.