email file parser and reader