added email reading from internal memory