Update gmail demo to use new XHR messaging.