The current CodeChain is sending emails whenever it prints an error log.
Normally it works well. If there is an issue in the network, however, it sends too many email alarms. Since the error logs are saved in a file, CodeChain does not need to send all email alarms.