feat: enhance Gmail account handling and expand chat tool capabilities

- Updated the GmailAccount class to extract email from the connector name when formatted with " - ".
- Added new tool actions for Gmail and Google Calendar, including creating drafts, sending emails, and managing calendar events, improving integration and user functionality.
This commit is contained in:
Anish Sarkar 2026-03-20 20:18:03 +05:30
parent f938c4018e
commit bd2d633546
2 changed files with 10 additions and 1 deletions

View file

@ -873,6 +873,12 @@ async def _stream_agent_events(
"delete_linear_issue",
"create_google_drive_file",
"delete_google_drive_file",
"create_gmail_draft",
"send_gmail_email",
"trash_gmail_email",
"create_google_calendar_event",
"update_google_calendar_event",
"delete_google_calendar_event",
):
yield streaming_service.format_tool_output_available(
tool_call_id,