Feature/search inbox

Drop or rewrite this.