Update get_bad_emails_from_log to consume more script logs. We have just deployed remind_owners_to_review_ownership.R which tests every owner and PI email address in the REDCap system. It generates about 1200 email in the process.
get_bad_emails_from_log should read its logs as well. I ran some tests and found the fix is not as simple as we might want because the existing jobs write data to a data frame called billing_alert_log while remind_owners_to_review_ownership.R names the data frame email_log. You're welcome :-)
Consider using the newish function, unnest_job_summary_data_json_object(), under development in ctsit/redcapcustodian#111