Added a fromSearch attribute to tell if an email is only there because of a search