Skip to main content
MindStudio
Pricing
Blog About
My Workspace
Messaging

Send Email

The Send Email block delivers an email message to one or more recipient addresses that have been configured by the app creator via OAuth connections.

Send emails to one or more configured recipients

The Send Email block delivers an email message to one or more recipient addresses that have been configured by the app creator via OAuth connections. You provide a subject line and a body, and the block handles transmission to whichever recipients are tied to the specified connection IDs. The body can be plain text, markdown, HTML, or a URL pointing to a hosted HTML file on a CDN, giving you flexibility in how email content is structured and sourced.

Two optional parameters give you additional control over formatting. The generateHtml flag, when enabled, uses an AI model to convert the body text into a styled HTML email automatically. You can also supply natural language instructions via generateHtmlInstructions to guide the style of that conversion. File attachments are supported as well, passed in as an array of URLs pointing to the files you want to include.

The block returns a recipients array listing the email addresses the message was actually sent to, which makes it straightforward to log delivery targets or branch subsequent workflow steps based on who received the message. It fits naturally into notification workflows, automated reporting pipelines, form submission confirmations, and any scenario where an AI application needs to communicate results or alerts to a known set of addresses.

What you can build

Real-world workflows powered by the Send Email block.

Form Submission Confirmation

After a user submits a form in a workflow, automatically send a confirmation email to the address associated with the triggering connection.

Automated Report Delivery

At the end of a data processing workflow, email a generated report as an HTML body or attached file to a configured recipient list.

AI Summary Notifications

Send an AI-generated summary of a document or dataset to stakeholders, using generateHtml to produce a polished, styled email automatically.

Alert and Monitoring Emails

Trigger an email notification when a workflow detects a specific condition, such as a threshold being exceeded or an error occurring.

Customer Support Follow-Up

After resolving a support ticket workflow, send a follow-up email with resolution details to the customer's configured address.

Document Delivery with Attachments

Deliver generated documents or exported files to recipients by passing CDN file URLs as attachments in the email.

Ready to add Send Email to your workflow?

Get Started Free

Common questions about Send Email

What are the required parameters for the Send Email block?

The two required fields are subject, which sets the email subject line, and body, which contains the email content. The body can be plain text, markdown, HTML, or a CDN URL pointing to a hosted HTML file. The connectionId field is optional in the schema but is needed in practice to resolve recipient addresses.

What does the block return after sending an email?

The block outputs a recipients array containing the email addresses the message was sent to. You can use this in subsequent workflow steps to log delivery targets or conditionally branch based on the recipient list.

How are recipient addresses determined?

Recipients are resolved from OAuth connections configured by the app creator. You reference them using the connectionId field, which accepts a comma-separated list of connection IDs to send to multiple recipients at once.

What does the generateHtml option do?

When generateHtml is set to true, the block uses an AI model to convert the body text into a styled HTML email. You can optionally provide generateHtmlInstructions with natural language guidance to control the visual style of the generated HTML.

What kinds of workflows commonly use the Send Email block?

The block is commonly used in notification workflows, automated reporting pipelines, form submission confirmations, alert systems, and any workflow where an AI application needs to deliver results, summaries, or status updates to a predefined set of email recipients.

Add Send Email to your workflow

Build powerful AI workflows with drag-and-drop blocks. No coding required.