Integrations

Use Gmail

Work with the user's connected Gmail account.

Parameters#

tool_namestringrequired

Exact tool name returned by list_app_tools, including the Hostagent-native gmail-get-message and gmail-delete-email actions.

configured_propsobjectrequired

The configured props for the action (e.g., {"to": "team@zocomputer.com", "subject": "Subject", "body": "Body"})

download_pathstringdefault: ""

Optional absolute path for the original message. gmail-get-message defaults to the conversation workspace (/home/.z/workspaces/<conversation_id>/email_attachment/gmail-<messageId>.eml); readable artifacts use the same basename. Pass a path only when the user wants the message saved in their files.

emailstringdefault: ""

Optional email address to select a specific connected account.