Reverting to working Gmail code. Still only works on browser.