mongoose populate and get one element of array code example
Example: populate mongoose array select
User.findById(id).populate({
path: 'contacts.user',
select: 'email'
})
User.findById(id).populate({
path: 'contacts.user',
select: 'email'
})