add example and fix email rule