pub async fn gmail_write<G: GoogleHttp, O: OAuthHttp, S: TokenSecrets, A: Approver>(
deps: &CallDeps<'_, G, O, S>,
approver: &A,
def: &AgentDefinition,
action: &str,
args: &GmailArgs,
account: Option<&str>,
now: DateTime<Utc>,
) -> Result<Value, String>Expand description
A Gmail write action for agent def.