Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SendEmailRunnable

SendEmailRunnable allows you to send Email with the Gmail API.

warn

Be sure to have configured the Gmail API as explained in the documentation.

Hierarchy

Index

Constructors

constructor

Properties

SCOPES

SCOPES: string[] = ['https://mail.google.com/','https://www.googleapis.com/auth/gmail.modify','https://www.googleapis.com/auth/gmail.compose','https://www.googleapis.com/auth/gmail.send',]

TOKEN_PATH

TOKEN_PATH: string = "token.json"

Private envVarAccessor

envVarAccessor: EnvVarAccessor

Private googleAnalytics

googleAnalytics: Visitor

name

name: string

Methods

authorize

  • authorize(credentials: any, callback: any, ...args: any[]): void

getNewToken

  • getNewToken(oAuth2Client: any, callback: any): void

run

sendMessage

Generated using TypeDoc