CORE-888 notify_emaildigest API call was failing

If there were no overdue tasks the API failed with an error.