fix(Filter): Empty groups are not printed in email.

Since in the other use cases we print the lines as they are processed, we
cannot know if a group is empty when we print the start line.
fix(Filter): modify end group template.

Add a line break between the groups.