ईमेल रिकॉर्ड : Novel local learning rule for neural adaptation fits Hopfield memory networks efficiently and optimally