In English, always capitalize the first word in every sentence.
In your example, "we" is the receiver of the action not the actor. Therefore, this sentence is stated in the passive voice.
You're right, "were sent" is used when something is sent something by someone else. "We" discovered the error but "we" didn't send the package; someone else sent it.
.