Gravar-mail: Logic of gene regulatory networks