Skip to content

fix(gmail): allow Workspace native aliases with empty verification status#407

Open
salmonumbrella wants to merge 1 commit intosteipete:mainfrom
salmonumbrella:fix/issue-406-workspace-alias
Open

fix(gmail): allow Workspace native aliases with empty verification status#407
salmonumbrella wants to merge 1 commit intosteipete:mainfrom
salmonumbrella:fix/issue-406-workspace-alias

Conversation

@salmonumbrella
Copy link
Contributor

@salmonumbrella salmonumbrella commented Mar 4, 2026

Summary

  • allow --from when a configured send-as alias has empty verificationStatus but is Gmail-managed (no custom SMTP relay), matching Google Workspace native alias behavior
  • keep rejecting explicit unverified statuses such as pending
  • apply the same validation logic to both gmail send and gmail drafts create
  • add regression tests for send, drafts, and the shared send-as validation helper

Fixes #406

Testing

  • make fmt
  • make lint
  • make test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant