When I create a send mail event from a repository's settings, I get an error as soon as I select the event. It works fine from administration.