Gmail client using Java (JavaMail API) and XMPP chat client using Jabber API