Email Record: Unified pre- and postsynaptic long-term plasticity enables reliable and flexible learning