What is Gmail Send node?

Node in Stack AI

The Gmail Send allows you to send an email as result of your workflow. For example, you can create a workflow that draftsd an email based on an analysis that an LLM has performed.

How to use it?

Connections to an Gmail Send node

To utilize the Gmail Receive node, you must establish the following connections:

  • Recipient: Input the email address to send the email to.
  • Subject: Add a subject for the email.
  • Content: Connect the node to an LLM, for example, to use the result of the LLM as content for the email.

Click on the Authenticate button to connect your Gmail account to Stack AI. You will be prompted to log in to your Gmail account and grant Stack AI access to your account. Once done, you will always have the option of disconnecting your account by cliking on the “Disconnect” button.

Gmail Send node connection parameters

Finally, click on the Create Draft toggle to create a draft of the email. Otherwise, the email will be sent automatically.

Example of usage

A practical application of Gmail Send node involves integrating it with an AI assistant designed to answer emails based on context data provided through a knowledge base of URLs.

Replying emails automatically via an LLM

To construct this workflow, employ an LLM to reply to your emails. Incorporate a Gmail Receive node to funnel emails, and link an URLs + Search node to add URLs for context. A Gmail Send node will send the reply to the email sender.

System prompt (LLM)

You are a helpful AI assistant. You respond to emails.

Sign as X, employee @ Y.

If they ask about meeting here is my calendar link: link Z.

If they want to learn about Stack AI look at the context.