Gravar-mail: Inferring the role of transcription factors in regulatory networks