Gmail and Google Workspace
Connect Gmail or Google Workspace with the PressedMail Gmail preset and provider-approved credentials.
Status: Supported with a Google app password.
Authentication: Google app password over IMAP and SMTP. Google OAuth is disabled in the current Published build.
The Gmail preset uses Google's standard IMAP and SMTP servers. Your Google account or Workspace administrator must allow the authentication method used by third-party mail clients.

Preset Values
| Setting | Value |
|---|---|
| IMAP host | imap.gmail.com |
| IMAP port | 993 |
| IMAP encryption | SSL/TLS |
| SMTP host | smtp.gmail.com |
| SMTP port | 587 |
| SMTP encryption | STARTTLS |
| Username | Full email address |
An alternative SMTP configuration is port 465 with SSL/TLS. Both are supported by Google; the preset uses 587 with STARTTLS.
Before you begin
- Confirm IMAP is enabled in Gmail settings (Settings > See all settings > Forwarding and POP/IMAP > IMAP access).
- Enable two-step verification on the Google account. App passwords are only available after two-step verification is on.
- For Google Workspace, confirm the administrator allows IMAP access and app passwords for the account.
Generate a Google app password
- Sign in to your Google account security settings.
- Make sure two-step verification is turned on.
- Open the app passwords page and create a password labeled for PressedMail.
- Copy the 16-character value. Google shows it in four-character groups; PressedMail accepts it with or without spaces.
Setup in PressedMail
- Open Settings > Email Connections and select Add Account.
- On Add an Email Account, choose Gmail.
- On Account Credentials, enter the full Gmail or Workspace email address, display name, and the app password.
- The Gmail preset fills the server values automatically, so the Server Configuration step is pre-filled.
- Run Test Connection to validate IMAP and SMTP.
- Save the account and let the first sync finish.
Gmail Folder Behavior
Gmail uses labels rather than strict folders, and IMAP exposes labels as folders. Because of this:
- The All Mail label can show the same message that also appears in the Inbox, Sent, or a custom label. This can look like duplicated messages.
- Sent, Spam, and Trash are exposed as separate IMAP folders.
- A message with several labels may appear under each matching folder.
PressedMail maps Gmail's special-use folders to standard roles (Inbox, Sent, Drafts, Trash, Junk, Archive). If a message appears in more than one place, that is Gmail label behavior, not a sync error.
Workspace Administrator Restrictions
A Google Workspace administrator can disable IMAP access, disable app passwords, or restrict less-secure sign-in methods for the organization. If the administrator blocks the method PressedMail uses, the connection test returns an authentication error that PressedMail cannot override. Ask the administrator to allow IMAP and app passwords for the account.
Google OAuth status
Google OAuth is not available in the current Published build. Use the app-password setup above. A Google or Workspace account that does not permit app passwords cannot be connected through the Gmail option today.
Troubleshooting
- Confirm IMAP is enabled for the mailbox.
- Use the full Gmail or Workspace email address as the username.
- Generate a fresh app password when normal account password authentication is rejected.
- Ask the Workspace administrator whether IMAP access and app passwords are allowed for the account.
- If Google flags a suspicious login, approve the activity in the Google account security review and retest.
Security Recommendations
- Use a dedicated app password, not your normal Google password.
- Revoke the app password in Google account settings when you remove the account from PressedMail.
- PressedMail encrypts credentials at rest on the WordPress installation. See Security and Privacy.