I\'m using PHP to send html emails. I\'ve tried to import css files inside the email, and it works fine.
Using Javascript in emails would be a security problem. And something not desirable. If you want send some fancy page to the user, why not send him the link to a page?