Is there a nice way to prevent emails from coming to the admin on orders that consist of only downloadable products?

The only thing I could think of was to put a kludge into order.php which sends no email to SEND_EXTRA_ORDER_EMAILS_TO when it finds the string "Free Shipping:" in the order email. Seems like this should be configurable somewhere but I did not find it.