Added Amazon S3 support, mail reporting