Move messages marked as "not spam" to Inbox instead of "All Mail"

Description

When marking selected Gmail message(s) in the Spam folder as “not spam” by clicking the “like” button they should be moved to the Inbox folder instead of the All Mail folder.
With the current behavior, when marking a message as “not spam”, it effectively disappears from Mailspring.

To Reproduce…

Steps to reproduce the behavior:

1.Open Google mail Spam folder
2. Mark email as Not spam
3. Verify email appeared in All Messages folder

Expected Behavior

Messages marked as not spam should appear in the Inbox folder instead of All Messages

Setup

  • OS and Version: EndeavourOS(Arch Linux)
  • Installation Method: AUR
  • Mailspring Version: 1.8.0