gmail

package
v0.3.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package gmail implements the Gmail productivity provider for Jeff

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GmailProvider

type GmailProvider struct {
	// contains filtered or unexported fields
}

GmailProvider implements the Provider interface for Google services

func NewGmailProvider

func NewGmailProvider() *GmailProvider

NewGmailProvider creates a new Gmail provider instance

func (*GmailProvider) Authenticate

func (g *GmailProvider) Authenticate() error

Authenticate performs OAuth2 authentication flow

func (*GmailProvider) Capabilities

func (g *GmailProvider) Capabilities() providers.ProviderCapabilities

Capabilities returns provider capabilities

func (*GmailProvider) Close

func (g *GmailProvider) Close() error

Close cleans up provider resources

func (*GmailProvider) ExecuteTool

func (g *GmailProvider) ExecuteTool(toolName string, params map[string]interface{}) (providers.ToolResult, error)

ExecuteTool executes a productivity tool

func (*GmailProvider) Initialize

func (g *GmailProvider) Initialize(config map[string]string) error

Initialize sets up the provider with configuration

func (*GmailProvider) Name

func (g *GmailProvider) Name() string

Name returns the provider name

func (*GmailProvider) Status

Status returns the current health status

func (*GmailProvider) SupportedTools

func (g *GmailProvider) SupportedTools() []string

SupportedTools returns the list of tools this provider implements

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL