gmail#

Classes

gmail.base.GmailBaseTool

Base class for Gmail tools.

gmail.create_draft.CreateDraftSchema

Input for CreateDraftTool.

gmail.create_draft.GmailCreateDraft

Tool that creates a draft email for Gmail.

gmail.get_message.GmailGetMessage

Tool that gets a message by ID from Gmail.

gmail.get_message.SearchArgsSchema

Input for GetMessageTool.

gmail.get_thread.GetThreadSchema

Input for GetMessageTool.

gmail.get_thread.GmailGetThread

Tool that gets a thread by ID from Gmail.

gmail.loader.GMailLoader(creds[, n, raise_error])

Load data from GMail.

gmail.search.GmailSearch

Tool that searches for messages or threads in Gmail.

gmail.search.Resource(value[, names, ...])

Enumerator of Resources to search.

gmail.search.SearchArgsSchema

Input for SearchGmailTool.

gmail.send_message.GmailSendMessage

Tool that sends a message to Gmail.

gmail.send_message.SendMessageSchema

Input for SendMessageTool.

gmail.toolkit.GmailToolkit

Toolkit for interacting with Gmail.

Functions

gmail.utils.build_resource_service([...])

Build a Gmail service.

gmail.utils.clean_email_body(body)

Clean email body.

gmail.utils.get_gmail_credentials([...])

Get credentials.

gmail.utils.import_google()

Import google libraries.

gmail.utils.import_googleapiclient_resource_builder()

Import googleapiclient.discovery.build function.

gmail.utils.import_installed_app_flow()

Import InstalledAppFlow class.