Comprehensive treatment of electromagnetic interactions and three-body spectator equations