Recently, gmail has updated login process.
This is fixed in the latest version of X-notifier.
You can get it here.
http://xnotifier.tobwithu.com/history.php