import { gmail } from "@waterlock/gateway/providers/gmail";
gmail({ credentials });- Actions: Gmail API method ids, e.g.
gmail.users.messages.send. Full list: codegen-report.md. See Actions. r.contextonmessages.send,drafts.create,drafts.update:recipients,recipient_domains,subject,text,html,attachments, decoded from the message.r.contextondrafts.send: onlydraft_id; every other field isnull. Gmail sends the stored draft, so the gateway can't see who it goes to or what it says. A rule that allowsdrafts.sendallows sending any draft as it stands, including ones written outside the gateway.- Harness: stock
@googleapis/gmailwithrootUrlset to the gateway. See the Quickstart.