API fix

Renames mailNotifier and makes it more generic.  Updates API calls to
new chrome API.  Uses class methods to make calls.  Removed Else in
mailChecker because there is no need to clean up if there is nothing to
do, cleanup is done when box is closed by system, user or by clicking.