Skip to content

--from blocked for Google Workspace native aliases (shows as unverified in API despite being valid) #406

@fonso2

Description

@fonso2

When using gog gmail send --from with a Google Workspace native alias (i.e. an alias on the same domain as the account, auto-configured by Google without SMTP), the command fails with:

--from address "user@workspace-domain.com" is not verified (status: )

Steps to reproduce:

  1. Set up a Google Workspace account (e.g. user@workspace-domain.com)
  2. Add a same-domain alias in Gmail Settings → Accounts → Send mail as — Google auto-configures it without SMTP or a verification email
  3. Run gog gmail settings sendas list — the alias appears but with blank VERIFIED and TREAT AS ALIAS fields
  4. Run gog gmail send --from user@workspace-domain.com — blocked with the error above

Expected behavior:
Native Workspace aliases on the same domain should be treated as verified and allowed as --from addresses, since Google considers them valid (they work fine in the Gmail web UI).

Workaround:
None programmatically. Manual send via Gmail web UI works. Adding via external SMTP would show verified: yes but is unnecessary complexity for a same-domain Workspace alias.

Environment:

• gog version: 0.11.0 (Homebrew)
• Account type: Google Workspace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions