One, it's in the software forum, and it's not a software issue.
Two, as mentioned above, there are other threads on this.
Three, as mentioned above, gmail is still beta.
Four, if the problems get to be too much, just set gmail to forward mail to Mail.app until the problem is fixed properly.