Fixed formatting of email agreement information.

Also moved email variables to be defined above and called below.