Fixes for logging of nutrient check and mailing

Fixes for logging of nutrient check and mailing