YMMV: This is the way I would go about it, but don't have two accounts to test.
First, you'll have to remove the GMail account. Then, create a new IMAP account for both GMail accounts (instead of selecting GMail as the type). Note: this has a limitation of not allowing you to move emails around in folders (in the default mail app).