on your googlemail account - goto settings
forwarding and pop/imap tab
you need to enable pop
then look at configuartion setting link
its here
http://mail.google.com/support/bin/a...y?answer=13275
i had initially setup gmail to work in mail, but gmail has such good spam filters, it became a huge hassle in mail. so i just use gmail notifier.