Expand description
Gmail send-as settings wrapper.
users.settings.sendAs.list returns the account’s primary address and
every send-as alias in one unpaginated call (1 quota unit, allowed by
gmail.readonly). gmail draft create --reply-all uses it to leave the
account’s own addresses out of a reply (#1954), and gmail draft create/update --from to check that a From is one Gmail will send as
(resolve_from, #1956). Read-only: nothing here creates, edits or
verifies an alias.
Structs§
Functions§
- resolve_
from - Checks
fromagainst the account’s send-as addresses and returns the mailbox to write as the draft’sFrom, orNoneto leaveFromto Gmail.