Email template filter