Mailbox and Gmail monetization

Hey.

So I have a question about Gmail and 3rd party email apps for Gmail. When an app comes along like Mailbox or Sparrow, how does Google then monetize Gmail? Because they need to advertise within the Gmail app on the desktop or phone to monetize Gmail, but I'm assuming that they can't if its in a 3rd party client. Any thoughts?