title: Jenkins custom email notifications
body: <p>We run several environments within Amazon AWS and have a Jenkins server in each environment. Because we use the EC2 hostnames it's difficult to determine which environment the Jenkins is part of.</p>
  
  <p>Therefore each Jenkins has a file called /etc/environment.txt which contains a environment name (e.g. "DEV4").</p>
  
  <p>Question: How, in the email notifications, can I grab the contents of the file above and set it in the subject line of the email?</p>
  
  <p>Would it be possible to overwrite the template? (I'm yet to find where the template file is..)</p>
  
  <p>Thanks</p>