hub MDL-19311 put back email function: either the hub doesn't display error message, either the hub correctly handle email. (the pb being the mail function outputing error when there is an error and breaking web service => I guess email function should return exception, and front end should catch it if they want to display something on email error)
hub MDL-19311 put back email function: either the hub doesn't display error message, either the hub correctly handle email.
(the pb being the mail function outputing error when there is an error and breaking web service => I guess email function should return exception, and front end should catch it if they want to display something on email error)

apnet/moodle-package-local_hub,apnet/moodle-package-local_hub