Sign in

Send draft (upload)

documented

Sends the specified draft to the recipients using the upload endpoint.

POST /upload/gmail/v1/users/{userId}/drafts/sendUsersno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://gmail.googleapis.com/upload/gmail/v1/users/{{$user_id}}/drafts/send" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"id": "{{$draft_id}}", "message": {"raw": "{{$raw_message}}"}}'
Send draft (upload) · Gmail · OpenIntegrations