A federal judge ruled Thursday that religious messages emailed by US agriculture secretary Brooke Rollins to the Department of Agriculture’s 100,000 employees violated the First Amendment’s establishment clause. The judge said Rollins must avoid proselytizing when communicating with workers.

Rollins sent Christian messages and images from her official email account on holidays including Independence Day, Thanksgiving, Christmas and Easter. She did not send messages commemorating holidays from other religions.

In an email marking Easter on 5 April, Rollins wrote: “And so, like the very first disciples to encounter our risen Lord in the Upper Room almost two thousand years ago, this Easter let us too be alive with hope, full of Paschal joy, and confident in the mission each of us has been called for,”

US district judge Trina Thompson, in San Francisco, cited Rollins’ position of authority, her use of an official email account and messages suggesting Christianity was a shared faith among Department of Agriculture (USDA) workers.

Thompson said employees could not realistically opt out of reading emails from their agency director. The messages could coerce them into hiding their own faith or feeling pressure to adopt Rollins’ Christian faith, she ruled.

Rollins must stop disseminating religious messages if a colleague asks her to. Thompson quoted USDA policy on workplace religious expression, adopted by Rollins, which says officials “Cannot create a hostile work environment through persistent unwelcome advances” and “cannot use official authority to pressure subordinates”.

Thompson said Rollins may discuss her faith with interested colleagues, explain why it is meaningful to her, politely invite co-workers to religious events and express her views in appropriate conversations, again quoting Rollins’ policy.

Six USDA employees and the National Federation of Federal Employees, a labor union representing 19,000 USDA workers, filed the lawsuit in May. The USDA did not respond to a request for comment.