XWIKI-11521: Send 3 new events for the email feature, mail ready to be s...

...ent, mail sent, mail error
I like events. Why use a different mechanism form listening for events?