Parsing bash history and email, keeps track of the last timestamp