Email Record: Large deviations and applications /