Incorrect email content being rendered


I am using MailSpring (v1.7.8) on MacOS and have it linked up to 3 gmail accounts. I have recently started to experience a bug where the wrong email gets rendered when I click on a separate email. Often the incorrect email that gets rendered is an email I have viewed recently and trashed.

To Reproduce…

Steps to reproduce the behavior:

I am unable consistently reproduce this, but these are the steps I followed to experience the issue:

  1. Ensure you have 3 gmail accounts loaded into Mailspring (not sure if this is related to the issue or not)
  2. Delete/trash a recently received email
  3. Wait a while
  4. Send a new email to this same email account
  5. Open the new email
  6. Sometimes, you’ll see the recently trashed email rendered instead of the new email content
  7. This issue then persists with this particular email, by consistently rendering the wrong email content even after I restart Mailspring
  8. Issue goes away when I reset the cache

Expected Behavior

I am expecting that the correct email content gets rendered when I click on an email


  • OS and Version: macOS 10.15.4
  • Mailspring Version: 1.7.8

Additional Context

I have 3 gmail accounts

(Originally posted by nthfloor on GitHub.)