When sending an email via gog gmail send, the From header only contains the email address, not the display name configured in the send-as alias. This happens both when using the default send-as address and when explicitly specifying --from.
Steps to reproduce
-
Configure a display name for a send-as alias:
gog gmail settings sendas update user@example.com --display-name "John Doe"
-
Verify it's set:
gog gmail settings sendas get user@example.com
# Shows: display_name John Doe
-
Send an email (either way):
# Using default send-as
gog gmail send --to recipient@example.com --subject "Test" --body "Hello"
# Or explicitly specifying --from
gog gmail send --to recipient@example.com --subject "Test" --body "Hello" --from user@example.com
-
Check the raw message headers:
Expected behavior
The From header should include the display name from the send-as alias:
From: John Doe <user@example.com>
Actual behavior
Only the email address is included, display name is omitted.
Version
v0.8.0 (4f2b12e 2026-01-19T02:32:15Z)
Opened by Shadow (assistant) on behalf of @neist
When sending an email via
gog gmail send, the From header only contains the email address, not the display name configured in the send-as alias. This happens both when using the default send-as address and when explicitly specifying--from.Steps to reproduce
Configure a display name for a send-as alias:
gog gmail settings sendas update user@example.com --display-name "John Doe"Verify it's set:
gog gmail settings sendas get user@example.com # Shows: display_name John DoeSend an email (either way):
Check the raw message headers:
Expected behavior
The From header should include the display name from the send-as alias:
Actual behavior
Only the email address is included, display name is omitted.
Version
Opened by Shadow (assistant) on behalf of @neist