If it wasn't counted you can use that receipt to file a complaint, and possibly get a chance to submit your votes again.
If it wasn't counted you can use that receipt to file a complaint, and possibly get a chance to submit your votes again.
Nothing ensures that they do.
So basically yes, you have to trust that the law will be upheld and that the Democrats and Republicans who monitor the process together won't be corrupted at the same time.
Expert: We should probably use a secret ballot
Politician: Do you have any evidence we've used the fact that ballots aren't secret in the modern period?
Expert: No, but that's sort of the point. Courts are allowed to use this but they never do, so, just use secret ballots.
Politician: There are rumours that Military Intelligence uses it to find out who votes Communist and so on right?
Expert: Yes, there are rumours but we aren't able to substantiate them.
Politician: How about you, ex-spy, can you do better?
Ex-spy: I have heard these rumours too.
Politician: So they're true?
Ex-spy: Well like I said, they are rumours. I've never seen it personally.
And then the politicians decide actually maybe we'll think about this some more before making a decision and another decade passes with the ballots still not actually secret.
[In England you will notice that the ballots are identical on a big pile when you arrive, but then when you show them or tell them who you are, they read out a number (a locally unique voter registration number), that number is written on a serial paper counterfoil, and the current number from the counterfoil is written to the ballot paper. This means that in principle it is possible (but laborious) to unwind parts or the entire election if you wanted to until the counterfoils are destroyed, a year later typically.]
When the absentee ballots are received, the outer envelope is opened if present and then the validity what's written on the inner envelope plus whatever supplemental materials were enclosed is evaluated according to local rules. The ballot remains inside its sealed envelope at this step and is not examined.
The validation is such things as making sure that someone with that name and address is on the voter rolls, no other ballot has been cast for that person, as well as more nitpicky local requirements like that an affidavit form was signed in the correct places and/or that the signature "matches" the voter's signature on file. If the ballot is accepted at this stage, then and only then is the envelope opened and the ballot put in a ballot box to be counted.
All of this is supervised by elections officials representing both major parties, which in practice makes it very difficult for either side to stuff the ballot box or "lose" ballots. There is still room for suppression via those extra rules - if the local rules are biased towards rejecting any challenged ballot, for example, one party can just claim that people with names they think are less likely to have voted for their side "doesn't match" - this is all highly dependent on the exact jurisdiction you're in and many states have rules biased towards accepting ballots, wherein unless the challenger can present a VERY good reason ("The identified person is dead" for example) the ballot is accepted.
Anything rejected should then get kicked, still unopened, into the "provisional ballot" process which technically has a way for voters to appeal the decision and present evidence that their vote should be counted - this is the same process used for people who aren't on the voter rolls but think they should be, or who weren't able to present any ID at the polls to come back and show their ID the next day, etc. In practice almost no one bothers unless the election-night returns were so close that the provisional votes might actually swing things.
There is, once the ballot has been accepted and the envelope opened, absolutely no way to trace an individual ballot back to a specific person. The ballots themselves may be retained in case there's a recount, but nothing can be "unwound" after a vote is cast.
For in person ballots, after the voter shows their eligibility, they are handed a ballot, or the equivalent such as being authorized to cast one ballot on a voting machine. No identifier stays with the ballot itself in any case; once they've passed the first station and been approved to vote that's it, there is no way to "unwind" or revoke that vote.
The inner envelopes are then opened and counted, again with scrutiny from both parties, in public.