new class - SetAndReset.java + more

Class SetAndReset.java to make code easier to update.  Also made a
temporary file for updating the plugin's mail class