Browse/Google/Send Email via Gmail API
Send Email via Gmail API
Google
$19 · Pro
Send an email on behalf of a user through the Gmail API.
send-gmail-message.ts
const response = await gmail.users.messages.send({ userId: "me", requestBody: { raw: encodedMessage } });
Unlock the full snippet
This is a Pro snippet — get all-access for $19, or unlock just this one snippet for $1.
Send Email via Gmail API — Google Example (TypeScript, Node, Python, Go, PHP, Ruby) | apiexamples