"Remove and show previous" shortcut fails on last email


Nothing happens when I use the “Remove and show previous” shortcut on the last email in my Inbox.

To Reproduce…

Steps to reproduce the behavior:

  1. Open oldest email in Inbox
  2. Use the “Remove and show previous” shortcut to archive current email and move to the next oldest email in the Inbox (for me, this is the ] key).
  3. Notice that nothing happens once you’ve reached the last email in the Inbox

Expected Behavior

Archive the email and show me an empty Inbox.


  • OS and Version: Linux Pop!_OS 20.04 LTS
  • Mailspring Version: 1.7.8

(Originally posted by awmottaz on GitHub.)

I took a look at the code, and this seems like an easy bug to fix. If we can get this labeled as accepted, I’d be happy to create a PR.

1 Like