gmail opening

My gmail opens every time a new mail arrives which interrupts what I am working on.  Is there a way to stop this?  Thank you.

Most likely... go into X-Notifier Options, click your gmail account on the right side list, then UNcheckmark the 'Open automatically' box.