Skip to content

Latest commit

 

History

History

gmail

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
title description integrations categories
Gmail sample
Samples using Gmail APIs
gmail
Samples

Gmail Sample

This AutoKitteh project demonstrates 2-way integration with Gmail.

API Documentation

How It Works

  1. Handles HTTP GET requests to interact with Gmail
  2. Retrieves profile details, drafts, and messages, and sends emails to the authenticated user

Cloud Usage

  1. Initialize your connection with Gmail
  2. Deploy project

Trigger Workflow

Run these commands to interact with Gmail via HTTP trigger using query parameters:

curl -i "${WEBHOOK_URL}" --url-query cmd=get_profile
curl -i "${WEBHOOK_URL}" --url-query cmd=list_drafts [--url-query query=optional_query]
curl -i "${WEBHOOK_URL}" --url-query cmd=get_draft&draft_id=<draft_ID>
curl -i "${WEBHOOK_URL}" --url-query cmd=list_messages&query=optional_query
curl -i "${WEBHOOK_URL}" --url-query cmd=get_message&message_id=<message_ID>
curl -i "${WEBHOOK_URL}" --url-query cmd=send_message&text=<message_text>

Self-Hosted Deployment

Follow these detailed instructions to deploy the project on a self-hosted server.