Leeson 11 imap

Hi,
iam trying to get the unread mails from my gmail account , but its asking to logging through browser, although it did the same, it show exception authentication error. please help…