Simple parser implementation

Allows to read sha1 and return code from email. Can handle some syntax errors.