Altered the java mail dependency.  Added a test case for the mail manager.