Consider I have pipeline and have created two triggers for it with Github webhook.
So, Trigger A works on PUSH request and Tigger B works on Pull Request. We have configured Notify option for "pipeline failed" and "pipeline pass". We want to send emails for Trigger A only. It should not send any email on Trigger B.
I can do custom stage and use Email plugin. But, I have to write the template Body, and it will send the message accordingly. But we should have option with Notify itself.