filter and directive added, Now email is a template view