GMAIL

Members

gmail.sendMail({ sender="", recipient="", subject="", content="" })

“Send a mail from sender to recipient”

Parameters:
  • sender (str) – mail of the sender
  • recipient (str) – mail of the recipient
  • subject (str) – subject of the mail
  • content (str) – content of the mail
Raises:

GMAIL_SEND_FAIL: mail could not be sent

Raises:

SCOPE_NOT_FOUND: requested scope could not be found

Raises:

ACCOUNT_NOT_FOUND: requested account could not be found

gmail.startPubsub({ email = nil })

“Start the pubsub for the account passed”

Parameters:email (str) – mail of the account
gmail.stopPubsub({ email = nil })

“Stop the pubsub for the account passed”

Parameters:email (str) – mail of the account