fixes the issue of notification email and some gui specific changes #5