Okay, got it. I’ve added a piece of code by mistake. conversations_controller.rb, line 2
before_action :get_mailbox, except: [:destroy, :restore]
should be
before_action :get_mailbox
because otherwise there is no mailbox and therefore nowhere to find conversation. Going to fix this.