My web application is designed to log emails sent from third-party applications like Outlook in a timeline using the maillin node.js framework. Everything is functioning correctly except for one significant issue. Whenever a user clicks on an email to view it, the CSS included in the email ends up affecting the entire page. I am aware that I could potentially resolve this by either opening the email in an iframe or simply loading the text only. However, I'm curious if there might be another approach to separating the CSS and preventing it from impacting the rest of the page. Edit. I forgot to mention that the main application operates on C# .Net MVC platform