Back to Top

Preorder Controller : Google OAuth SMTP configuration

Updated 15 April 2025

In this guide, we have explained the step by step directions to setup Google OAuth SMTP Configuration in PreOrder Controller .

This feature allows you to set up your own SMTP to send emails directly from your mail server, giving you full control over the communication process with your customers.

With this setup, you can ensure that Preorder-related notifications, such as Preorder Product Subscribed , Preorder Product Purchased and E.T.C from your own email engine.

Enhancing your brand’s credibility and customer experience.

Pre-order-google-oauth

To configure Google OAuth SMTP for your Preorder controller store, navigate to the SMTP Config section. From there, select Mail Config Type as Google OAuth to set up your custom email server.

Start your headless eCommerce
now.
Find out More

Here you have to enter the details of your own SMTP like Client ID, Client Secrete ,Email from and other relevant details.

preorder controller-client id

How to get Google OAuth SMTP details for Preorder controller?

To get the Google OAuth SMTP details simply visit Google console and create a new project .

Preorder controller smtp library

Then go to API & Services and navigate to Library and search for Gmail API and enable it.

Preorder controller smtp-gmail-api

Next, under Navigation Menu>>Api and services >> Libraries select Gmail API. For Data Access, choose User Data and click Next to proceed with the configuration.

preorder controller smtp-create-credentails

After that you have to click on create credential to get client id and client secret .

smtp-user-data Preorder controller

In the next step, enter a name for your API under App Information and provide the required details. Once done, click Save and Continue to proceed.

Preorder controller smtp-api-name

On the OAuth Client ID page, select Application Type as Web Application. Enter the JavaScript origins URL provided below, along with the redirect URL.

Preorder controller smtp-oauct-client-id

Authorized JavaScript origins URL : https://apps-sp.webkul.com

Authorized redirect URL : https://apps-sp.webkul.com/preorder/member/smtp/save/config?shop= {shop_domain}

Example : {Shop_domain} like :Preorder controller-14.myshopify.com

After entering the given tokens Click Create to generate your Client ID.

Preorder controller add details

Here after creating this you will get your client id there click on Done.

After clicking Done, you’ll receive your Client ID and Client Secret needed to configure your Google OAuth SMTP. You can copy your Client ID and Client Secret from here .

preorder-oauth-client-secret

Click on save button to continue .

After completing the previous steps, you need to create or add a test user to configure your Google OAuth SMTP.

To do this, click on OAuth Consent Screen, then select Add Test User. Add the test user from there.

Now, simply go to your SMTP configuration page, enter the Client ID, Client Secret, and the remaining details, then click “Save” to configure your Google OAuth SMTP.

enter details

NOTE: When configuring Google OAuth for your SMTP server,

please be aware that any emails sent before the configuration is complete will still be processed by your previous SMTP host server.

Once you finalize the Google OAuth SMTP configuration, the newly configured Google OAuth SMTP server will send all future emails.

Support

If you need any kind of support/consultancy then please raise a ticket at http://webkul.uvdesk.com/ or drop a mail at support@webkul.com

Thanks for reading this blog!!! 😇

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home

Preorder Controller : Google OAuth SMTP configuration