Send an email when a regex pattern appear in a stream