Matthew 7:6 would prohibit givng any sacraments to animals, but it has never been traditionally understood as a prohibition on blessing them, -- or indeed teaching the Gospel to them in the ways that they can understand it. Obviously, there is no point in doing so verbally, but when we are kind to animals and give them our friendship, that is teaching them the Gospel.
Kindness is not the Gospel.