A lawsuit challenging a sweeping elections law that the General Assembly passed last year could force open legislative emails to public inspection for the first time.