Fix bug with post-Procedure email.
Add archive flag on output.