Approach it as what it is: worship in a working Catholic basilica. If hearing Mass inside Gaudí's interior would mean something to you, it can be one of the most memorable ways to experience the building. If your main goal is to save €26, it is a poor substitute for sightseeing.
Can you see the interior during free Mass?
Yes. The Sunday international Mass takes place inside the Basilica, so you see the main interior, and it is spectacular: Gaudí's forest of columns rising into the vaults, the enormous nave, the coloured light from the stained glass. But you may be inside the building without experiencing it the way a visitor does. On a normal visit you can move around the nave, look at details up close, listen to the audioguide, take time photographing the architecture, visit the museum and go at your own pace. During Mass, your attention belongs to the service. That is why we see free Mass as a different experience, not a free replacement for the €26 ticket.
Can you take photos during Mass?
Even where casual photography is fine during ordinary visiting hours, a service calls for different behaviour. Don't treat Mass as a photo shoot. Avoid walking around for compositions, standing in the aisles to photograph the altar, distracting worshippers, photographing people at prayer, using flash, and holding your phone up over the congregation. For the classic interior shots you see on travel sites and Instagram, book a normal visitor ticket: you get far more freedom and won't disturb anyone.
Do you have to be Catholic to attend?
None of the visitor information the Basilica publishes restricts attendance to Catholics. Visitors of other faiths, or none, may attend respectfully. Some parts of the Catholic liturgy carry specific religious meaning, though; receiving Holy Communion in particular isn't something to join in as a visitor. If you are unfamiliar with Catholic worship, it is perfectly fine to stay quietly in your place when others go forward.