Added support for custom domain Google apps. Fixes #19.