Nonprofit Agency Acted as Government Agent in Opening Email, Court Rules