added a 3rd arg to the send_notifications to indicate the env