SMTP Setup for Google Workspace (Gmail)

SMTP Setup for Google Workspace (Gmail)

SMTP Setup for Google Workspace (Gmail)

What You'll Need

  • A Google Workspace account (business Gmail) — not a free personal Gmail account, since those have sending limits and restrictions
  • Admin access to your Google Workspace (or ask your IT/admin to help with 2 steps below)
  • Access to your domain's DNS settings

Google requires 2-Step Verification to be turned on before you can create an App Password.

  1. Go to: myaccount.google.com/security
  2. Sign in with the Google Workspace email you want to send emails from
  3. Under "How you sign in to Google," click 2-Step Verification
  4. Follow the steps to turn it ON (usually via phone number/OTP)

Step 2: Generate an App Password

Your regular Gmail password will not work for SMTP — you need a special App Password.

  1. Go to: myaccount.google.com/apppasswords
  2. If asked, sign in again
  3. Under "App name," type something like GMB SMTP
  4. Click Create
  5. Google will show you a 16-character password (example: abcd efgh ijkl mnop)
  6. Copy this immediately — you won't be able to see it again
  7. Save it in a safe place (you'll need it in Step 5)


💡 Note: If you don't see "App Passwords" as an option, your Google Workspace Admin may need to enable it first. Go to Admin Console → Security → Access and data control → Less secure apps (or ask your admin to allow "App Passwords" for
your account).



Step 3: Note Your SMTP Connection Details

For Google Workspace / Gmail, the standard SMTP settings are:

FieldValue
SMTP Hostsmtp.gmail.com
SMTP Port587 (recommended) or 465
EncryptionTLS (if using port 587) or SSL (if using port 465)
UsernameYour full Google Workspace email (e.g., notifications@yourdomain.com)
PasswordThe 16-character App Password from Step 2 (NOT your regular password)

Step 4: Add SPF and DKIM Records for Google

This tells other email providers that Google is authorized to send email on your domain's behalf — without this, your emails may go to spam.

SPF Record:

  1. Go to your domain's DNS settings (same place you added your CNAME records earlier)
  2. Add a new TXT record:
    • Host: @ (or leave blank, depending on your DNS provider)
    • Value: v=spf1 include:_spf.google.com ~all
  3. Save

⚠️ If you already have an SPF record (e.g., from ZeptoMail), don't create a second one — combine both into a single TXT record instead. Example: v=spf1 include:_spf.google.com include:zeptomail.zoho.in ~all

DKIM Record:

  1. Log in to your Google Admin Console (admin.google.com)
  2. Go to Apps → Google Workspace → Gmail → Authenticate email
  3. Select your domain and click Generate New Record
  4. Google will give you a DKIM host name and TXT value — copy both
  5. Go back to your domain's DNS settings
  6. Add a new TXT record using the exact host name and value Google gave you
  7. Return to Google Admin Console and click Start Authentication

Step 5: Add SMTP Settings to MagicBolt

  1. Go to your MagicBolt Agency Panel → Settings → Integrations → Email (SMTP)
  2. Enter the following:
    • SMTP Host: smtp.gmail.com
    • SMTP Port: 587
    • Username: your full Google Workspace email
    • Password: the App Password from Step 2
    • Encryption: TLS
    • From Name: your brand name
    • From Email: same as your username (must match)
  3. Click Save
  4. Click Send Test Email to confirm it's working
    • Related Articles

    • White Label Complete Setup

      MagicBolt AI White Label & Agency Plan Complete Setup Knowledge Base Step-by-Step Guide for Non-Technical Users 📞 Need Help? Contact our Support Team anytime Share screenshots if you face any issues 🆕 What's New in This Version Added 2 new DNS ...
    • Google Cloud Console API Setup

      Google Cloud Console API Setup Google Cloud Console APIs are required for Google Maps ranking, tracking features, and location-based services. Even if you don't have a Google Cloud account, you can create one easily using your Gmail account. 💡 What ...
    • How to Connect Your Google Business Profile (GMB), (GMP).

      Connecting your Google Business Profile allows you to manage reviews, automate responses, and unlock full platform features Step-by-Step Instructions 1. Go to Dashboard Log in to your account Navigate to the Dashboard 2. Click on “Connect” Button On ...
    • ZeptoMail Email Setup

      ZeptoMail Email Setup ℹ️ This Step is Optional ZeptoMail (Zoho) is now a secondary/backup email method. SMTP (Step 6) is your primary method and is required. Setting up ZeptoMail as a backup is recommended but optional - it ensures emails still get ...
    • Domain & DNS Setup

      Domain & DNS Setup ⚠️ CRITICAL STEP - Read Carefully DNS setup is the foundation of your white label. Any mistakes here will prevent your system from working. Take your time and double-check each entry. What is DNS? DNS (Domain Name System) is like a ...