I wonder how this actually works.
It seems like for Gmail to provide this functionality, it needs to copy your external email to Google's servers and do server side processing.
I can't imagine that it does spam protection, Google Now cards, and search all client side.