Better event handling, to make it easier to send email to inviter when invitation is accepted