Long awaited feature for GTalk has been made available. You can receive Chat messages in your Gmail inbox as the Gmail Blog states –
The messages will be delivered to your friends the next time they sign in with Google Talk or a third-party client.
And when they sign in to Gmail, offline messages will be displayed as unread messages in their inbox.
In Gmail, offline messages can be searched and organized — just like instant messages in your chat history.