Use a third-party CSS or JS Framework, a self-hosted service like a CRM, or a third-party service with the site.
Custom email template provides templates for emails.
An example module creating a block that uses AngularJS