Today, teaching and learning paths increasingly intersect with technologies powered by emerging artificial intelligence (AI).This work analyses public opinions and sentiments about AI applications that affect e-learning, such as ChatGPT, virtual and augmented reality, microlearning, mobile learning, adaptive learning, and gamification. The way people perceive technologies fuelled by artificial intelligence can be tracked in real time in microblog messages promptly shared by Twitter users, who currently constitute a large and ever-increasing number of individuals. The observation period was from November 30, 2022, the date on which ChatGPT was launched, to March 31, 2023. A two-step sentiment analysis was performed on the collected English-language tweets to determine the overall sentiments and emotions. A latent Dirichlet allocation model was built to identify commonly discussed topics in tweets. The results show that the majority of opinions are positive. Among the eight emotions of the Syuzhet package, ‘trust’ and ‘joy’ are the most common positive emotions observed in the tweets, while ‘fear’ is the most common negative emotion. Among the most discussed topics with a negative outlook, two particular aspects of fear are identified: an ‘apocalyptic-fear’ that artificial intelligence could lead the end of humankind, and a fear for the ‘future of artistic and intellectual jobs’ as AI could not only destroy human art and creativity but also make the individual contributions of students and researchers not assessable. On the other hand, among the topics with a positive outlook, trust and hope in AI tools for improving efficiency in jobs and the educational world are identified. Overall, the results suggest that AI will play a significant role in the future of the world and education, but it is important to consider the potential ethical and social implications of this technology. By leveraging the positive aspects of AI while addressing these concerns, the education system can unlock the full potential of this emerging technology and provide a better learning experience for students.