Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
pip install google-api-python-client google-auth-httplib2 google-auth-oauthlib
export GOOGLE_CLIENT_ID=your_client_id_here export GOOGLE_CLIENT_SECRET=your_client_secret_here export GOOGLE_PROJECT_ID=your_project_id_here export GOOGLE_REDIRECT_URI=http://localhost # 默认值
from agno.agent import Agent from agno.tools.gmail import GmailTools agent = Agent(tools=[GmailTools()], show_tool_calls=True) agent.print_response("Show me my latest 5 unread emails", markdown=True)
get_latest_emails
bool
True
get_emails_from_user
get_unread_emails
get_starred_emails
get_emails_by_context
get_emails_by_date
create_draft_email
send_email
search_emails