Fixed Security for email publishing (now tested)