Update plugin.yml
Add library resources for Events
Add hook for Events by SonarBeserk
Move xMail events to API package
Actually apply senders to mail