She can perhaps call or email the imam and not give a name? Or leave a note in his office. If the imam recognizes her… then I don’t know… niqaab? Just as long as her name isn’t revealed in any way.
Since the husband is involved in the masjid, I’d assume he goes to Jummah and tries to make the khutbah… the OP would know about that.