@tispratik ... this one also loops over the votes correctly, then delivers all the looped data in a single email to the last recipient. The difference between them is the end.deliver.

So neither does it right, this one mixes in all the looped data, and the one above creates mime parts for each recipient, but delivers only the last as an email.