{"id":1340,"date":"2024-11-15T13:27:30","date_gmt":"2024-11-15T13:27:30","guid":{"rendered":"https:\/\/help.xodox.in\/?post_type=docs&#038;p=1340"},"modified":"2024-12-11T14:02:33","modified_gmt":"2024-12-11T14:02:33","password":"","slug":"configure-email-with-google-oauth-2-0","status":"publish","type":"docs","link":"https:\/\/help.xodox.in\/pt\/docs\/configure-email-with-google-oauth-2-0\/","title":{"rendered":"Configure email with Google OAuth 2.0"},"content":{"rendered":"<div class=\"entry-content\">\n<p>Starting from Latest Update, you can configure a general Google email using OAuth 2.0, to do this on your Xodox CRM installation follow the steps below.<\/p>\n<ul>\n<li>Go to the\u00a0<a href=\"https:\/\/console.developers.google.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Google Developer Console<\/a>.<\/li>\n<li>Create a new project. You can also select an existing project.<\/li>\n<li>Add a name to your project. Google Console will generate a unique Project ID for it.<\/li>\n<li>Your project will appear on top of the left sidebar.<\/li>\n<li>Click on <strong>Library<\/strong>. You will see a list of Google APIs.<\/li>\n<li>Enable\u00a0<strong>Gmail API<\/strong>.<\/li>\n<li>Click on the <strong>Credentials<\/strong>. Select <strong>OAuth Client ID <\/strong>under Create credentials. Choose the radio button for the Web Application.\n<ul>\n<li>If asked to consent, choose <strong>External<\/strong><\/li>\n<li>Enter app name, for example, Xodox CRM Mailer<\/li>\n<li>Enter support email<\/li>\n<li>In the authorized domains section, click Add Domain<\/li>\n<li>Enter our Xodox CRM installation domain<\/li>\n<\/ul>\n<\/li>\n<li>Copy the redirect URL in <strong>Setup-&gt;Settings-&gt;Email-&gt;Gmail OAuth 2.0, usually,<\/strong> it looks like <strong>https:\/\/your-installation-url.com\/admin\/smtp_oauth_google\/token<\/strong><\/li>\n<li>Give the Name. Under Authorized JavaScript origins enter your domain URL. In the \u2018Authorized redirect URIs\u2019 add the link of the redirect URL.<\/li>\n<\/ul>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/11\/3JyfuJO.png\" alt=\"\" \/><\/figure>\n<\/div>\n<ul>\n<li>Click on the Create button. You will get a client ID and client secret in the pop-up. Copy these details.<\/li>\n<li>Add the client id and client secret to your Xodox CRM installation<\/li>\n<\/ul>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/11\/pHe3P68.png\" alt=\"\" \/><\/figure>\n<\/div>\n<ul>\n<li>Save the email settings.<\/li>\n<li>After saving the Client ID and Client Secret, Click <strong>Authenticate<\/strong>.<\/li>\n<\/ul>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Starting from Latest Update, you can configure a general Google email using OAuth 2.0, to do this on your Xodox CRM installation follow the steps below. Go to the\u00a0Google Developer Console. Create a new project. You can also select an existing project. Add a name to your project. Google Console will generate a unique Project ID for it. Your project will appear on top of the left sidebar. Click on Library. You will see a list of Google APIs. Enable\u00a0Gmail API. Click on the Credentials. Select OAuth Client ID under Create credentials. Choose the radio button for the Web Application. If asked to consent, choose External Enter app name, for example, Xodox CRM Mailer Enter support email In the authorized domains section, click Add Domain Enter our Xodox CRM installation domain Copy the redirect URL in Setup-&gt;Settings-&gt;Email-&gt;Gmail OAuth 2.0, usually, it looks like https:\/\/your-installation-url.com\/admin\/smtp_oauth_google\/token Give the Name. Under Authorized JavaScript origins enter your domain URL. In the \u2018Authorized redirect URIs\u2019 add the link of the redirect URL. Click on the Create button. You will get a client ID and client secret in the pop-up. Copy these details. Add the client id and client secret to your Xodox CRM installation Save the email settings. After saving the Client ID and Client Secret, Click Authenticate.<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"doc_category":[40],"doc_tag":[],"class_list":["post-1340","docs","type-docs","status-publish","hentry","doc_category-email-config-templates"],"acf":[],"year_month":"2026-04","word_count":226,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"help-xodox","author_nicename":"help-xodox","author_url":"https:\/\/help.xodox.in\/pt\/author\/help-xodox\/"},"doc_category_info":[{"term_name":"Email Config &amp; Templates","term_url":"https:\/\/help.xodox.in\/pt\/docs-category\/email-config-templates\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Configure email with Google OAuth 2.0 - My CMS<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/help.xodox.in\/pt\/docs\/configure-email-with-google-oauth-2-0\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configure email with Google OAuth 2.0 - My CMS\" \/>\n<meta property=\"og:description\" content=\"Starting from Latest Update, you can configure a general Google email using OAuth 2.0, to do this on your Xodox CRM installation follow the steps below. Go to the\u00a0Google Developer Console. Create a new project. You can also select an existing project. Add a name to your project. Google Console will generate a unique Project ID for it. Your project will appear on top of the left sidebar. Click on Library. You will see a list of Google APIs. Enable\u00a0Gmail API. Click on the Credentials. Select OAuth Client ID under Create credentials. Choose the radio button for the Web Application. If asked to consent, choose External Enter app name, for example, Xodox CRM Mailer Enter support email In the authorized domains section, click Add Domain Enter our Xodox CRM installation domain Copy the redirect URL in Setup-&gt;Settings-&gt;Email-&gt;Gmail OAuth 2.0, usually, it looks like https:\/\/your-installation-url.com\/admin\/smtp_oauth_google\/token Give the Name. Under Authorized JavaScript origins enter your domain URL. In the \u2018Authorized redirect URIs\u2019 add the link of the redirect URL. Click on the Create button. You will get a client ID and client secret in the pop-up. Copy these details. Add the client id and client secret to your Xodox CRM installation Save the email settings. After saving the Client ID and Client Secret, Click Authenticate.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/help.xodox.in\/pt\/docs\/configure-email-with-google-oauth-2-0\/\" \/>\n<meta property=\"og:site_name\" content=\"My CMS\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-11T14:02:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/11\/3JyfuJO.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Tempo estimado de leitura\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/help.xodox.in\/docs\/configure-email-with-google-oauth-2-0\/\",\"url\":\"https:\/\/help.xodox.in\/docs\/configure-email-with-google-oauth-2-0\/\",\"name\":\"Configure email with Google OAuth 2.0 - My CMS\",\"isPartOf\":{\"@id\":\"https:\/\/help.xodox.in\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/help.xodox.in\/docs\/configure-email-with-google-oauth-2-0\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/help.xodox.in\/docs\/configure-email-with-google-oauth-2-0\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/11\/3JyfuJO.png\",\"datePublished\":\"2024-11-15T13:27:30+00:00\",\"dateModified\":\"2024-12-11T14:02:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/help.xodox.in\/docs\/configure-email-with-google-oauth-2-0\/#breadcrumb\"},\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/help.xodox.in\/docs\/configure-email-with-google-oauth-2-0\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\/\/help.xodox.in\/docs\/configure-email-with-google-oauth-2-0\/#primaryimage\",\"url\":\"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/11\/3JyfuJO.png\",\"contentUrl\":\"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/11\/3JyfuJO.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/help.xodox.in\/docs\/configure-email-with-google-oauth-2-0\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/help.xodox.in\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configure email with Google OAuth 2.0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/help.xodox.in\/#website\",\"url\":\"https:\/\/help.xodox.in\/\",\"name\":\"My CMS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/help.xodox.in\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/help.xodox.in\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-PT\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/help.xodox.in\/#organization\",\"name\":\"My CMS\",\"url\":\"https:\/\/help.xodox.in\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\/\/help.xodox.in\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/10\/Xodox-Logo-01-2.png\",\"contentUrl\":\"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/10\/Xodox-Logo-01-2.png\",\"width\":573,\"height\":192,\"caption\":\"My CMS\"},\"image\":{\"@id\":\"https:\/\/help.xodox.in\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configure email with Google OAuth 2.0 - My CMS","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/help.xodox.in\/pt\/docs\/configure-email-with-google-oauth-2-0\/","og_locale":"pt_PT","og_type":"article","og_title":"Configure email with Google OAuth 2.0 - My CMS","og_description":"Starting from Latest Update, you can configure a general Google email using OAuth 2.0, to do this on your Xodox CRM installation follow the steps below. Go to the\u00a0Google Developer Console. Create a new project. You can also select an existing project. Add a name to your project. Google Console will generate a unique Project ID for it. Your project will appear on top of the left sidebar. Click on Library. You will see a list of Google APIs. Enable\u00a0Gmail API. Click on the Credentials. Select OAuth Client ID under Create credentials. Choose the radio button for the Web Application. If asked to consent, choose External Enter app name, for example, Xodox CRM Mailer Enter support email In the authorized domains section, click Add Domain Enter our Xodox CRM installation domain Copy the redirect URL in Setup-&gt;Settings-&gt;Email-&gt;Gmail OAuth 2.0, usually, it looks like https:\/\/your-installation-url.com\/admin\/smtp_oauth_google\/token Give the Name. Under Authorized JavaScript origins enter your domain URL. In the \u2018Authorized redirect URIs\u2019 add the link of the redirect URL. Click on the Create button. You will get a client ID and client secret in the pop-up. Copy these details. Add the client id and client secret to your Xodox CRM installation Save the email settings. After saving the Client ID and Client Secret, Click Authenticate.","og_url":"https:\/\/help.xodox.in\/pt\/docs\/configure-email-with-google-oauth-2-0\/","og_site_name":"My CMS","article_modified_time":"2024-12-11T14:02:33+00:00","og_image":[{"url":"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/11\/3JyfuJO.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Tempo estimado de leitura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/help.xodox.in\/docs\/configure-email-with-google-oauth-2-0\/","url":"https:\/\/help.xodox.in\/docs\/configure-email-with-google-oauth-2-0\/","name":"Configure email with Google OAuth 2.0 - My CMS","isPartOf":{"@id":"https:\/\/help.xodox.in\/#website"},"primaryImageOfPage":{"@id":"https:\/\/help.xodox.in\/docs\/configure-email-with-google-oauth-2-0\/#primaryimage"},"image":{"@id":"https:\/\/help.xodox.in\/docs\/configure-email-with-google-oauth-2-0\/#primaryimage"},"thumbnailUrl":"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/11\/3JyfuJO.png","datePublished":"2024-11-15T13:27:30+00:00","dateModified":"2024-12-11T14:02:33+00:00","breadcrumb":{"@id":"https:\/\/help.xodox.in\/docs\/configure-email-with-google-oauth-2-0\/#breadcrumb"},"inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/help.xodox.in\/docs\/configure-email-with-google-oauth-2-0\/"]}]},{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/help.xodox.in\/docs\/configure-email-with-google-oauth-2-0\/#primaryimage","url":"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/11\/3JyfuJO.png","contentUrl":"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/11\/3JyfuJO.png"},{"@type":"BreadcrumbList","@id":"https:\/\/help.xodox.in\/docs\/configure-email-with-google-oauth-2-0\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/help.xodox.in\/"},{"@type":"ListItem","position":2,"name":"Configure email with Google OAuth 2.0"}]},{"@type":"WebSite","@id":"https:\/\/help.xodox.in\/#website","url":"https:\/\/help.xodox.in\/","name":"My CMS","description":"","publisher":{"@id":"https:\/\/help.xodox.in\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/help.xodox.in\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-PT"},{"@type":"Organization","@id":"https:\/\/help.xodox.in\/#organization","name":"My CMS","url":"https:\/\/help.xodox.in\/","logo":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/help.xodox.in\/#\/schema\/logo\/image\/","url":"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/10\/Xodox-Logo-01-2.png","contentUrl":"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/10\/Xodox-Logo-01-2.png","width":573,"height":192,"caption":"My CMS"},"image":{"@id":"https:\/\/help.xodox.in\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/docs\/1340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/comments?post=1340"}],"version-history":[{"count":0,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/docs\/1340\/revisions"}],"wp:attachment":[{"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/media?parent=1340"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/doc_category?post=1340"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/doc_tag?post=1340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}