Today, I'm trying to help a client answer the question of how Gmail decides in which tab to place a sender's email messages. That leads to the question of how does Gmail, or any other IS…