Oozie email action attachment
See my comment, but for others checking this issue, the answer is:Capture the output of the shell action
<capture-output/>
and pass it as a param for the email action
<attachment>${wf:actionData('shell_action')['path']}</attachment>
For detail check the link in my comment.