custom filters, implemented a directive that passes objects, functions and strings to isolate scopes, create a template for iterated email items