Yep, the Gmail app doesn't even use IMAP at all... it has its own servers with a much better network protocol.
I can't even call it "To my friends, everything; to my enemies, the law" -- because Gmail's IMAP implementation is incomplete when it comes to push mail ("the law" part is not there), even not considering the 10 connections limit.
So it's "To our own app, everything; to everyone else's, potato peels".