Bugfix: string instead of array
Bugfix: email output template fixes