sendDraft sends a message already saved in Gmail. Use it after draftEmail,
draftReply, or a human review step has produced a ready-to-send draft.
Example
automations/send-approved-draft.automation.ts
Inputs
Every input, including
account, also accepts a compatible Signal.
Pass the draftId returned by draftEmail, draftReply, getDraft,
searchDrafts, or updateDraft. A draft’s messageId is not accepted here.
After Gmail sends the draft, that draft no longer exists as an editable draft.
Output
Returns aSignal<MessageMetadata> with:
The output describes the sent message, not the now-consumed draft.