yes in dungeon buddy bot config you have option to set what item quality (grey/white/green/epic) to mail and what item quality (grey/white/green/epic) to vendor
everything not selected will just stay in bags, also food/drinks/potions are "protected" they don't get sold and don't get sent by mail either just keep piling up in bag space