AgentLoops
Gmail

Send Email

Send an email or create a draft in Gmail.

Send Email

This node allows you to send emails or create drafts using your Gmail account. It supports HTML bodies, CC/BCC recipients, and replying to existing threads.

Inputs

VariableTypeRequiredDescription
credentialIdCredentialYesThe Gmail credential to use for sending.
tostringYesThe recipient email address(es).
subjectstringYesThe subject line of the email.
bodystringYesThe content of the email. Supports HTML.
mode"send" | "draft"NoWhether to send the email immediately or save it as a draft. Default: "send".
ccstringNoCC recipient email address(es).
bccstringNoBCC recipient email address(es).
threadIdstringNoThe ID of the thread to reply to.
replyToMessageIdstringNoThe ID of the specific message to reply to.

On this page