XWIKI-11521: Send 3 new events for the email feature, mail ready to be sent, mail sent, mail error
* Renaming events
* Minor fixes