The New Zealand Law Society has apologised after a staff member sent confidential information to the wrong person.
The privacy breach occurred when the staff member intended to email a colleague but mistakenly emailed someone with a similar name.
"The email contained a complaint to the Law Society by a legal practitioner about his own conduct, alleged to amount to sexual harassment or bullying," the society said in a statement.
Law Society president, Kathryn Beck, said the privacy breach was unacceptable and preventable.
"This error has caused additional and unnecessary stress for those whose information was disclosed," she said.
"The Law Society was entrusted with information that it should have been able to properly protect and we fell short of our internal standards. We are profoundly sorry for this unacceptable mistake."