Sending email when event is created or updated