Wikipedia defines emotion as "any conscious experience characterized by intense mental activity and a certain degree of pleasure or displeasure."
Plants do not have a central nervous system and therefore no mental activity so they certainly don't have emotions in the sense that humans and animals can have emotions. However plants feel/detect being eaten and they can communicate this to other (related) plants by releasing volatile organic compounds.