class*args, **kwargs)[source]

GMail plugin. It allows you to programmatically compose and (TODO) get emails

__init__(*args, **kwargs)[source]

Initialized the Google plugin with the required scopes.


scopes (list) – List of required scopes

compose(sender, to, subject, body, files=None)[source]

Compose a message.

  • sender (str) – Sender email/name

  • to (str) – Recipient email or comma-separated list of recipient emails

  • subject (str) – Email subject

  • body (str) – Email body

  • files (list) – Optional list of files to attach


Returns the available labels on the GMail account