Photos are not with reduced quality, HEIF format just use better losless compression. Quality is the same.
HEIF is only supported on High Sierra and newer, so that’s why El Capitan did not recognize it.
If you are sending HEIF photo to, for example, El Capitan via AirDrop, HEIF photo will be converted to JPG and then transferred. If Im right, HEIF photos sent via email is also converted to JPG - so use ZIP archives when sending HEIF via e-mail.