Use 8K chunks to write results
Add dependency on xp-framework/mail (ToEmailAddressCaster)
Fix class name for IllegalAccessException
QA: Adjust to new coding standards