before the email (html/txt) is sent out, the file could be saved in current build directory if needed.
there are two use usage for this
- check purpose, it could be checked whether the file sent out is correct or not, especially during debug the format (groovy template like), it can avoid wait for the real email in mailbox
- archive for access in web, mostly newsletter had the statement "view in the browser", then when email is send out, there is a link to view it in web.
Thank to consider this, not code yet