Optional gate function allows to customize notification based on custom rules