Add send mail event for content rules #5895