#2130153 by levelos: Allow other modules to react a message send result.
#2220663 by daven: Add parameter to mandrill_get_api_object for module extensibility.