Email Record: A generalized approach to the two sample problem :