add logging and rescue network errors in gmail checker