Attributes for email templates rendered conditionally, more added

This fixes #368 @ChrisBr @hennevogel please review
I won't change these variable names because they are already in use on live instances! If u change these u have also write a migration!!!