Thanks for posting your solution to this. I was having the very same issue, and had already spent hours trying to figure it out.
My problem also involved Nginx killing the connection, timing out after 60s and reporting back as 503. This confuses the mail composer, which then thinks it remained unsent.