Add status return in the API framework
Improvements of emailing to allow pass FromName in the array $from