Printer & scanner technician providing cloud scan help

Joe B.

Expert ★★★★★ 27,853 satisfied customers

Specialities: Windows 11/10, macOS, MFPs & Scanners, Google Workspace/Microsoft 365, SMTP, OAuth2

Scan to Google Drive / Scan to Email not working — OAuth, app passwords, SMTP ports, DNS SPF/DMARC

Technician avatar Technician
Hey! We’ll fix scan to Google Drive or scan to email on your MFP. Tell me the brand/model (HP/Epson/Canon/Brother/Ricoh/Kyocera/Xerox), whether you’re saving to Google Drive, Gmail SMTP, Microsoft 365/Exchange, or another SMTP server, and the exact error (e.g., SMTP Authentication failed, Login not allowed, Connection timeout, 403 OAuth error). We’ll validate OAuth2 consent, app password, and SMTP ports/TLS.
Customer
Epson Workforce MFP. Scan to Google Drive stopped working — “Can’t connect to Google services”. Also scan to email via Gmail fails with 535-5.7.8 Username and Password not accepted.
Technician avatar Technician
Got it. Two common causes:
• Google tightened security: Less secure apps is retired. Your MFP must use OAuth2 for Drive and either OAuth2 for SMTP (if supported) or a Gmail app password with 2‑Step Verification enabled.
• Wrong SMTP settings (server/port/TLS) or blocked by network/DNS.
We’ll reauthorize Drive, create an app password for SMTP, and test the connection from the printer’s web UI.
Customer
Where do I reauthorize Google Drive and set the app password?
Technician avatar Technician
Re‑enable Scan to Google Drive (OAuth2):
1) Open the printer’s Embedded Web Server → Scan → Cloud / Google Drive and click Sign in with Google.
2) Choose the Google account (Workspace or personal) → Allow file access & See/Edit your Google Drive files. The device stores a refresh token; if it expired, this renews it.
3) Set the default Drive folder, filename pattern, and PDF/JPEG preferences.

Gmail SMTP (scan to email):
• Turn on 2‑Step Verification for the Gmail/Workspace account → create an App password → Mail → Other → “MFP”. Copy the 16‑char code.
• On the MFP set smtp.gmail.com, Port 465 (SSL/TLS) or 587 (STARTTLS), Authentication: Login, Username = full email, Password = app password.
• Set From address to the same mailbox (or an allowed alias) and add your addresses to the Address Book.
Customer
We’re on Google Workspace. Some scans never arrive or land in spam. Any domain settings?
Technician avatar Technician
Yes — improve deliverability:
• Publish DNS SPF that covers Gmail: v=spf1 include:_spf.google.com ~all (or -all once verified).
• Enable DKIM in Admin Console and consider DMARC (p=quarantine or p=reject after monitoring).
• If your MFP sends via your public IP or another relay, add it to SPF or relay through smtp-relay.gmail.com with authenticated/allowed IPs.
Customer
What about brands that support native Google Drive apps vs. older models?
Technician avatar Technician
Brand notes:
• HP & Epson: use the device’s Scan to Cloud / Google Drive app or the vendor portal to link OAuth; update firmware.
• Canon imageRUNNER / Ricoh / Kyocera / Xerox: often support Google Drive/OneDrive connectors; install/update the connector and re‑authorize.
• Older models without OAuth: use scan to email via SMTP or scan to local SMB/NAS then a script syncs to Drive (e.g., Google Drive for desktop).
Customer
SMTP test still fails with Connection timed out.
Technician avatar Technician
That’s a network block. Check:
• Firewall allows outbound 465/587 TCP; some ISPs block port 25 and sometimes 465/587 on guest VLANs.
• Correct DNS and gateway on the printer; set DNS to 8.8.8.8 + your internal resolver.
• Date/time on the MFP (invalid TLS if clock is wrong).
• If behind a strict proxy, use your organization’s SMTP relay instead of direct Gmail.
Customer
Scan to Google Drive authenticates, but files never appear in the folder.
Technician avatar Technician
Likely one of these:
• The app is authorized for the wrong Google account — re‑link and verify the target My Drive or Shared Drive path.
• The MFP lacks permission to a Shared Drive; grant Content Manager or use a service account/connector that supports Shared Drives.
• Drive quota reached or file size exceeds device limit; switch to PDF (compact), 200dpi, or split pages.
• Filename collisions; enable auto‑rename with timestamp.
Customer
We use Microsoft 365 instead of Gmail. Can we still scan to email reliably?
Technician avatar Technician
Yes — use one of Microsoft’s supported patterns:
• SMTP AUTH with a dedicated mailbox and app password (if MFA) → smtp.office365.com, Port 587 STARTTLS.
• Or Direct Send via Exchange Online (no auth) for internal recipients; requires sending from your public IP with SPF including that IP.
• Best practice is a dedicated scanner@yourdomain mailbox with a strong app password and transport rules that bypass spam for that sender.
Customer
Can we default to PDF/A and OCR so Drive/Email gets searchable PDFs?
Technician avatar Technician
Absolutely. In the scan settings, choose PDF/A + OCR (searchable), set color/B&W at 200–300 dpi, and enable auto‑deskew/blank‑page removal. Save as a preset for one‑touch Scan to Google Drive or Scan to Email.
Customer
Great — Drive upload and email sending both work now. Thanks!
Technician avatar Technician
Summary: If scanner won’t save to Google Drive or scan to email fails, re‑authorize OAuth2, use a Gmail/M365 app password with correct SMTP server, port, and TLS, verify DNS SPF/DKIM, and check network/DNS/clock. Need hands‑on help? Open the chat.

Quick answer: the accepted fix

Accepted fix when Scan to Google Drive not working or Scan to Email failed: re‑authorize Google with OAuth2, enable 2‑Step Verification and use an app password, set smtp.gmail.com:465 SSL/TLS or 587 STARTTLS (or smtp.office365.com:587), verify SPF/DKIM, correct DNS/time, and update device firmware.


Scan to Google Drive/Email stopped after an update

Firmware or Google/Microsoft security changes can invalidate tokens. Re‑link Google Drive OAuth or refresh the connector, rotate the SMTP app password, and confirm your firewall still allows TLS ports 465/587.

How to verify cloud scan works

Run the device’s Test connection for Google Drive and SMTP. Send a 1‑page PDF to your mailbox and Drive folder. If email succeeds but Drive fails, it’s an OAuth scope or folder permission issue. If both fail, check DNS, gateway, NTP time, and TLS certificates.

Scan to cloud — troubleshooting tips

Most issues are authentication, SMTP/TLS, or Drive permissions.

Quick path: update firmware → re‑authorize OAuth2 → enable MFA + app password for SMTP → verify DNS/SPF/DKIM/DMARC → lock down From address and test on 465/587. For older devices, route via a secure SMTP relay or use scan to SMB/NAS with Drive sync.

Disclaimer: This information is AI-generated and intended for general guidance only. For advice specific to your environment, please consult a verified expert on Whizz-Tech before making decisions.


Getting Started Is Easy

Ask for help, 24/7

Members enjoy round-the-clock access to 12,000+ verified Experts, including tech support, mechanics, vets, and more.

Expert will respond in minutes

We match you with an Expert who specializes in your situation. Talk, text, or chat — whichever you prefer.

Save time & money

No scheduling hassles or expensive consults. Membership can save you significant time and money each month.

FAQ

Which SMTP settings should I use for Gmail/Google Workspace?

Use smtp.gmail.com with Port 465 (SSL/TLS) or 587 (STARTTLS), authentication Login, username = full email, password = app password. Enable 2‑Step Verification first.

How do I authorize Google Drive on my printer?

Open the printer’s web interface → Cloud/Google Drive → click Sign in with Google and approve permissions. Choose a default folder and save the token.

Scan to email works but messages go to spam — why?

Set up domain SPF (include Google or your relay), enable DKIM, and consider DMARC. Use a dedicated sender like scanner@yourdomain.

Our device doesn’t support OAuth. Any workaround for Drive?

Use scan to SMB/NAS and run Google Drive for desktop to sync that folder to Drive, or send via email to a Drive‑monitored address.

What file format is best for Drive/Email?

PDF/A with OCR at 200–300 dpi is ideal for searchable archives and small size. Use JPEG for photos only.

Common cloud scan problems and quick fixes
SymptomLikely causeQuick fix
“Cannot connect to Google services” Expired OAuth token or wrong account Re‑authorize Google Drive OAuth; select correct folder/account
SMTP auth failed 535/534 MFA without app password Enable 2FA; create app password; use TLS 465/587
Timeout sending email Firewall/DNS/clock Allow 465/587; set DNS; sync time via NTP
Emails land in spam Missing SPF/DKIM/DMARC Publish SPF; enable DKIM; set DMARC policy

Step‑by‑step (Google Drive + Gmail)

  1. Update device firmware; set correct time and DNS.
  2. In Cloud/Google Drive on the device, click Sign in with Google and approve OAuth scopes.
  3. Enable 2‑Step Verification → create a Gmail app password for SMTP.
  4. Configure smtp.gmail.com with 465 SSL/TLS or 587 STARTTLS; test.

Step‑by‑step (Microsoft 365)

  1. Create dedicated mailbox scanner@; enable MFA and generate an app password.
  2. Set smtp.office365.com with 587 STARTTLS; authentication = Login.
  3. Optional: configure Direct Send or SMTP relay with allowed IP and SPF include.

Sources

Matt Verified Icon
Matt ● replies in < 1 min
Technician Expert
⭐⭐⭐⭐⭐ Trusted by 27,000+ customers
Avatar
Alex · Expert's Assistant