Skip to main content

handle_google_gmail

Function handle_google_gmail 

Source
pub(crate) async fn handle_google_gmail(
    __arg0: State<AppState>,
    caller: Option<Extension<Caller>>,
    __arg2: Json<GmailBody>,
) -> Response
Expand description

POST /api/v1/google/gmail: { account, result }, or { error } with a sentence the agent can act on.