Skip to main content

gmail_read

Function gmail_read 

Source
pub async fn gmail_read<G: GoogleHttp, O: OAuthHttp, S: TokenSecrets>(
    deps: &CallDeps<'_, G, O, S>,
    def: &AgentDefinition,
    action: &str,
    args: &GmailArgs,
    account: Option<&str>,
    now: DateTime<Utc>,
) -> Result<Value, String>
Expand description

A Gmail read action for agent def.