Hey thanks for reporting this! Could you attach screenshot of where you’re seeing the subject line? I’m guessing this is actually a text truncation issue in the front-end rather than a sync problem. (It seems like Mailspring might be wrapping the text at the - characters?) Could you also verify that it happens with the stock theme if you’re using one of the custom ones? Cheers!
I’m seeing this, too, but only in emails from me to myself. There may be some kind of race condition because it will often, but not always, occur. I only have Gmail so I have not tested this with other email providers.
Steps:
Use a different client (e.g., Gmail mobile app or Gmail website) to begin composing an email to yourself.
In the subject line, type: 12345678
Backspace over half of the numbers until the subject line reads: 1234
Type the last four numbers again until the subject line reads: 12345678
Send
At this point, Mailspring will receive the new email from you to yourself, but the subject line in the Mailspring UI (both in the inbox and the message view) will likely (but not always) say 1234 instead of 12345678. Displaying the original message shows the correct subject, 12345678.
The more I look at it, the more it seems like some kind of syncing issue due to Mailspring somehow getting confused about me sending email to myself with Gmail constantly syncing my draft updates to the server.
I followed my reproduction steps above using the Gmail web interface. This time, I didn’t get “1234” but simply “No subject”. This is what my Mailspring inbox looked like after I sent the email:
Interestingly, there are a bunch of draft emails in the thread.
I am seeing the same behavior with an email very similar in content that I have sent to two different people. One person replied but it shows the subject line of the other conversation.
It MAY have to do with the pattern matching done to group emails into conversations. I have posted a bug report but haven’t gotten a reply. I have specifically said that I’m sure I could fix this by myself but again, I need someone to tell me where that matching logic sits as it appears to be undocumented.