Email Record: A general approach for discriminative de novo motif discovery from high-throughput data