Gravar-mail: Efficient and robust coding in heterogeneous recurrent networks