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:
- Set up a Google Workspace account (e.g. user@workspace-domain.com)
- Add a same-domain alias in Gmail Settings → Accounts → Send mail as — Google auto-configures it without SMTP or a verification email
- Run gog gmail settings sendas list — the alias appears but with blank VERIFIED and TREAT AS ALIAS fields
- 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