Hey! Thanks for reporting this—based on the dates of the messages in the Gmail screenshot, my guess is that Mailspring didn’t sync the bodies of these messages for search (it uses a few heuristics to avoid taking up too much disk space in large mailboxes). You can check and see if this is the case by searching for the subject line / to / from etc. to pull up these results in Mailspring, clicking them to load the message bodies, and then seeing if results appear for u2412m. (I think they’ll show up).
If that’s the not the case let me know! Either way, we should improve this behavior. I think that for Gmail accounts we can delegate more of search to Gmail’s API, and for all accounts we can expose the options to limit your offline cache of the mailbox so you can easily see how far back it’s indexed.
I can confirm that this is happening to me, too.
It can happen when I search for emails from the last 3 months, not necessarily a few years back.
The search is the most valuable feature I find using really often. This is kind of a deal-breaker.
I found myself struggling to find emails using Mailspring search only to realize after weeks that it was the client’s fault.