Should we move this check (and the lower one for weekly digests) higher in the code, to avoid making all the DAO calls that we won't need if the digest has already been sent? We could save ourselves the $plugin_dao->getPluginID and all the owner-related DAO calls if the email was already sent (which will be most crawls, from 4am till midnight).