How to setup Studio so that the data file attaches to the scheduled run notification email
1. Launch Studio and go to FileOptions
2. Go to the Proxy/Email tab and enable "Use your organizations Exchange mail server to send email notifications"
3. Provide your company's Exchange server address, confirm/update the server port, the email address that you'd like the emails to be sent from, and the maximum attachment size allowed
Once these settings have been saved you will be able to select "Attach data file" when scheduling the script run: