I'm using msmtp 1.28 and noticed that I lose emails - they are just not send.
Below
shows a simple test with 4 mail invocations - as you see the first
three times, I get four new elements in the queue but then suddenly only
2. So, this looks like some race in queing of messages.