Docs

Send Email

Sends a Gmail message.

POST

Body

Arguments
stringrequired

Recipient email address. Use a comma-separated list for multiple recipients.

stringrequired

Email subject line.

string

Plain-text alternative to Body HTML. Email clients select the supported representation when both are provided.

string

HTML email body. Map htmlContent from Get Email to retain the original markup.

string

Optional MIME Content-ID without angle brackets or the cid: prefix. Must match the image reference in Body HTML, for example [email protected] for src="cid:[email protected]". Enable Inline to display the image in the body.

file

Optional single attachment file to include with the email.

boolean

Display this attachment inside Body HTML using its matching cid: reference. Requires Content-ID and Body HTML. When Content-ID is empty, the file remains a normal attachment.

string

Optional CC recipients. Use a comma-separated list.

string

Optional BCC recipients. Use a comma-separated list.

string

Optional sender header. Must be permitted by Gmail account configuration.

string

Optional Reply-To address.

string

Optional Gmail thread ID to reply in an existing thread.

array of object

Add one item per attachment. Each item contains Filename, MIME Type, and Base64 Data. For Gmail attachments, use the data returned by Get Email Attachment.

stringrequired
string

Defaults to application/octet-stream.

stringrequired

File content encoded as base64 or base64url. Accepts the data returned by Get Email Attachment; do not supply a URL or an attachment ID.

Uncommon arguments
string

Optional attachment filename override. Defaults to the uploaded file name when available.

string

Optional attachment MIME type override. Defaults to application/octet-stream when unknown.

Field selectionChoose which fields should be included in the response. Learn more
string

Comma-separated response fields to include.

Every app you connect,one REST pattern

Call any app with one REST pattern. MindCloud handles each provider's auth, request shape, and responses for you.

Learn what the Universal API is
One REST patternUse the same request structure across apps like Slack, HubSpot, Salesforce, and thousands more.
Managed connectionsSend a MindCloud connection ID instead of handling provider tokens, refresh logic, and credential storage yourself.
Action-level docsEach action page shows the exact endpoint, required arguments, optional controls, and response behavior for that app version.