Are your website contact forms completely vanishing into thin air? Or maybe a client insists they submitted a request, but your inbox remains completely empty.

Before you assume your contact form is broken, check your spam or junk folder. More times than not, those missing WordPress notifications, WooCommerce receipts, and password reset forms are sitting right there, flagged as junk.

This happens because default WordPress settings send automated emails using a generic server function that major mail providers like Gmail no longer trust. While you can follow this step-by-step blueprint to route your emails safely through Google’s secure servers for free, navigating API screens and developer keys can get incredibly technical. If you want to bypass the headache and ensure your forms always drop straight into your primary inbox, check out our Ducos Design Technical Support Options to have an expert handle your integration safely.

If you are ready to configure the free Google API method yourself, here is how to get those missing emails out of spam forever.

The Real Reason Your Emails End Up in Spam

When a user submits a form, your web hosting server generates the email and sends it on its way. The breakdown happens when the recipient's mail server receives it. Because WordPress doesn't add proper security authentication to outgoing messages by default, email providers have no way to verify that the message actually came from you.

To protect users, providers like Gmail automatically flag unauthenticated server emails as potential spam or phishing attempts and dump them into the junk folder. The best, completely free way to resolve this is to force WordPress to authenticate directly through your official Google account using an API connection.

Step 1: Install a Free SMTP Plugin

To change how WordPress routes its mail, you need a plugin that overrides the default unauthenticated configuration.

  • The Best Tool: Download and install the free WP Mail SMTP plugin.
  • The Setup: Once activated, go to your WordPress dashboard, navigate to WP Mail SMTP > Settings, scroll down to the Mailer section, and select Google / Gmail.
  • Copy the Link: Look at the bottom of the plugin settings page for a field called Authorized Redirect URI. Copy this long URL string immediately; you will need to paste it inside your Google account configuration during the next step.

Step 2: Open a Project in Google Cloud Console

To get the developer keys your website needs to talk to Google, you must register a free project.

  1. Go to the Google Cloud Console and sign in with the specific Gmail or Google Workspace account you want your website to send mail from.
  2. Click the project dropdown menu in the top-left corner (next to the main logo) and click New Project. Name it something clear like My Website Mailer and click Create.
  3. On the left sidebar dashboard, navigate to APIs & Services > Dashboard. Click the + Enable APIs and Services button at the top.
  4. Search for the "Gmail API" in the search box, click on it, and select Enable.

Step 3: Configure Your OAuth Consent Screen

Before Google hands over your security keys, you have to create a basic application profile.

  1. In the left sidebar of the Cloud Console, click OAuth consent screen.
  2. Choose your User Type:
    • Select Internal if you use a paid Google Workspace profile matching your domain.
    • Select External if you are setting this up using a free, standard @gmail.com address.
  3. Click Create and fill out the required basic contact blocks:
    • App name: Type in your company name (e.g., "Ducos Design Mailer").
    • User support email: Select your current email address from the dropdown.
    • Developer contact information: Type your email address in again.
  4. Click Save and Continue through the remaining windows until you are sent back to the main dashboard.
  5. Critical for Free Accounts: If you chose the External user type, look at your OAuth consent screen dashboard and click Publish App to take your settings out of "Testing" mode.

Step 4: Generate Your Client ID & Client Secret

Now we create the exact digital credentials your website needs to connect to Google's inbox servers.

  1. In the left sidebar, click on the Credentials tab.
  2. Click the + Create Credentials button at the top and select OAuth client ID.
  3. Under the Application type dropdown menu, select Web application.
  4. Scroll down to the section titled Authorized redirect URIs and click + Add URI.
  5. Paste the exact Authorized Redirect URI that you copied from your WordPress plugin settings back in Step 1.
  6. Click Create.

A window will pop up on your screen revealing your unique Client ID and Client Secret. Copy both of these strings carefully. If you accidentally close this window, you can view them again at any time by clicking the pencil icon next to your web application listed under the "OAuth 2.0 Client IDs" grid.

Step 5: Authorize Your Website

  1. Go back to the WP Mail SMTP settings panel inside your WordPress site's dashboard.
  2. Paste your copied Client ID and Client Secret directly into their matching input boxes.
  3. Click Save Settings at the bottom of the page.
  4. Once the page refreshes, scroll down and click the main button called Allow plugin to send emails using your Google account.
  5. Follow the Google permission prompts to log in and authorize the site. (Note: If you see a warning screen saying "Google hasn’t verified this app," simply click Advanced at the bottom and click Go to wpmailsmtp.com (unsafe) to force the secure connection).

Once the linking process completes, jump over to the Email Test tab in your plugin settings and send a manual test message to make sure everything lands safely in your inbox instead of the spam folder!


Still stuck? It helps to know:

If Google's cloud dashboard feels like an absolute maze, or if your forms are still refusing to drop into your inbox after linking your keys, don't leave your leads to chance. You can skip the configuration stress entirely by scheduling an integration block via our Ducos Design Technical Support Options so we can get your mail streams perfectly verified.

 

  • Are you setting this up through a free @gmail.com personal account or a custom branded Google Workspace domain?
  • Did you remember to click "Publish App" on your OAuth Consent Screen settings page, or is it still stuck in "Testing" mode?
  • What specific error code or descriptive notification message is your WordPress plugin logging when you run a manual test send?