Move error codes to `errno` and return false on failure

Trim email of whitespace