I have been having similar discussions, my house mate, a good physicist, that come around to supporting your view.
On talking about artificial intelligence (the definition is the wrong way to go about it in my opinion) ; He was telling me how he thought emotions were irrational by definition and my argument is that they are highly logical and not so much a side effect but the very clock that makes us crunch each cycle of thought.
I believe that animals aren't controlled automatically like our hearts, even including insects are controlled by complex networks of weighted pressures that control our decision making, its like hunger is the kernel between the machine reflex of an empty stomach and our adding needing to get around to eating against the "but im on a diet" grouping of emotions.
To support this my housemate started the conversation about how superstition is whats needed to use the imagination to investigate possibilities when confronted with anything we come across.
Take evolutionary computing, a robot might learn how to open a box open a box to get a reward if it saw a cube picked it up and shook it because last time something fell out, so it goes round shaking boxes and later stumbles across that they have lids, then it could develop a way of looking for lids on things, its the superstition that makes it shake the box.
Like babies explore ya know.
therefore the superstition programming has got to be really early behaviour all the way back to hippo campus times, so I do believe that emotions can be genetic, but only the primary colour equivelent of emotions, I then believe higher emotions are blends of simpler ones.
I think this would also explain anomolous inteligence in all mamals, like this
https://www.youtube.com/watch?v=JB4DnnXV1jM
I believe that the above video is human like fun, I believe that this birds naturally occurring motives in a previous problem solving experience have just by chance blended to recreate a similar feeling of fascination that toddlers on slides have, its isolated the experience and now snowboards.
The inverse also explains why some animals, and people, are assholes.