Implemented logging of resource table generation and emailing of critical errors