Gravar-mail: Adaptive collective foraging in groups with conflicting nutritional needs