added check for duplicate email
added generic outputBoilerplate function, plus templates for resources, safety, contact and duplicate email