**Is your feature request related to a problem? Please describe.** I would like to mail specific error that triggered failure hook. **Describe the solution you'd like** Env variable / Option that stores failure reason / output.