Gravar-mail: Compartmentalization of a bistable switch enables memory to cross a feedback-driven transition