Trigger an email notifications at step level

Hi Team,

I am unable to trigger notification for a specific build. Since, i am having multiple builds on the pipeline.yaml i can able to trigger an email at the pipeline level. But, i want to trigger at step level. Is there a way to do this.