To send email when a activity fails, you could make a success capture activity that has only 'On success' relations. If that activity is skipped, you know there's a failure before.
Example: simplified pipeline