Implement ReadEmaiRaw, readHeader