Send email only after last stage success of a 4 stage pipeline


currently we have a pipeline consisting of 4 stages (setup, test, deploy-test and deploy-production).
Now we want to send an email to a specific email address if the last step (the merge in stage deploy-production) has succeeded.
Additionally it would be great if the email would contain information from a file wich is included in the repository something like a or similar.

With the notification options in the user settings it seems not possible as the options are not differentiated enough for this.

Maybe someone can give a hint.