Fixed Email setup window.  Refactored FileIO.
Changed all references to "template.txt" to "email-template.txt".
Added example email-template.txt.