Improve the mail callback to support differing failures
Improve the mail callback to support differing failures

Since callbacks are called with different argument-types, we have to be careful. We support two different distinct cases:

 - The error information can be in one ore more of the following items (msg, stderr or stdout)
 - The res/msg value returned can be a string or a list

thaim/ansible,thaim/ansible