Move email parser code to separate class.
Require the data_grabber module to use parser class.
Refactor generate-job-stats script to use parser.