added configuration for email context generator, moved templates