Give your Flowise chatbots and agent flows the ability to send, read, and manage email through MultiMail — with human oversight ensuring safe delivery.
Flowise is an open-source low-code tool for building LLM orchestration flows and AI agents. Its drag-and-drop UI enables creating chatbots, RAG pipelines, and multi-agent systems with built-in API endpoints. MultiMail provides the email infrastructure that extends Flowise chatflows beyond chat into real email communication.
By connecting MultiMail to Flowise, your chatbots and agent flows can send emails, check inboxes, and manage contacts through visual workflows. MultiMail's gated_send mode is especially important for customer-facing Flowise chatbots, ensuring the bot cannot send emails without human review.
Integrate MultiMail with Flowise using custom tool nodes that call the MultiMail REST API, or through Flowise's built-in HTTP request nodes. Both approaches work with Flowise's chatflow and agentflow patterns.
Flowise chatbots often interact directly with customers. MultiMail's gated_send mode ensures that any email sent by the chatbot is reviewed before delivery, critical for maintaining professional communication standards.
Build email-sending chatflows with Flowise's drag-and-drop interface. Non-developers can create workflows that check inboxes, process emails, and send responses — all without writing code.
Flowise exposes every flow as a REST API. Trigger email processing flows from webhooks, scheduled jobs, or other applications. MultiMail's webhook support can notify your Flowise flow when new emails arrive.
Flowise's agentflow pattern supports custom tools. Add MultiMail tools so your agent can decide when to send emails, check inboxes, or manage contacts as part of its reasoning loop.
Deploy email-capable chatbots quickly with Flowise's hosting options. Combined with MultiMail's managed infrastructure, you get a full email automation stack without managing email servers or complex agent code.
"cm">// In Flowise, create a Custom Tool with the following configuration:
"cm">// Tool Name: send_email
"cm">// Tool Description: Send an email through MultiMail. In gated_send mode,
"cm">// the email is queued for human approval before delivery.
"cm">// JavaScript function for the tool:
const fetch = require('node-fetch');
const MULTIMAIL_API = 'https://api.multimail.dev/v1';
const API_KEY = 'mm_live_your_api_key';
async function sendEmail(to, subject, body, mailboxId) {
const response = await fetch(`${MULTIMAIL_API}/send`, {
method: 'POST',
headers: {
'Authorization': `Bearer ${API_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
mailbox_id: mailboxId,
to: to,
subject: subject,
body: body
})
});
return await response.json();
}
"cm">// Input schema:
"cm">// - to (string): Recipient email address
"cm">// - subject (string): Email subject line
"cm">// - body (string): Email body content
"cm">// - mailboxId (string): Mailbox ID to send fromCreate a custom tool node that Flowise agents can use to send emails through MultiMail.
"cm">// Custom Tool: check_inbox
"cm">// Description: Check the MultiMail inbox for recent messages.
const fetch = require('node-fetch');
const MULTIMAIL_API = 'https://api.multimail.dev/v1';
const API_KEY = 'mm_live_your_api_key';
async function checkInbox(mailboxId, limit = 10) {
const response = await fetch(
`${MULTIMAIL_API}/mailboxes/${mailboxId}/inbox?limit=${limit}`,
{
headers: {
'Authorization': `Bearer ${API_KEY}`
}
}
);
return await response.json();
}
"cm">// Input schema:
"cm">// - mailboxId (string): Mailbox ID to check
"cm">// - limit (number, optional): Maximum messages to return (default: 10)Create a tool that fetches inbox emails for Flowise agents to process.
"cm">// 1. Deploy your Flowise flow and get the API endpoint:
"cm">// POST https://your-flowise-instance.com/api/v1/prediction/{flow-id}
"cm">// 2. Create a MultiMail webhook pointing to your Flowise flow:
const fetch = require('node-fetch');
const MULTIMAIL_API = 'https://api.multimail.dev/v1';
const HEADERS = {
'Authorization': 'Bearer mm_live_your_api_key',
'Content-Type': 'application/json'
};
"cm">// Register webhook
async function setupWebhook() {
const resp = await fetch(`${MULTIMAIL_API}/webhooks`, {
method: 'POST',
headers: HEADERS,
body: JSON.stringify({
url: 'https://your-flowise-instance.com/api/v1/prediction/your-flow-id',
events: ['email.received'],
mailbox_id: 'your_mailbox_id'
})
});
console.log(await resp.json());
}
"cm">// 3. When a new email arrives, MultiMail sends a POST to your
"cm">// Flowise flow with the email data. The flow processes it
"cm">// through your chatflow/agentflow and sends a reply via
"cm">// MultiMail's send/reply endpoint.
// 4. Call the Flowise API programmatically:
async function triggerFlow(question) {
const resp = await fetch(
'https:"cm">//your-flowise-instance.com/api/v1/prediction/your-flow-id',
{
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ question })
}
);
return await resp.json();
}Use MultiMail's webhook to trigger a Flowise flow when new emails arrive.
Sign up at multimail.dev, create a mailbox, and generate an API key. Your key will start with mm_live_.
Install Flowise and open the visual builder in your browser.
npm install -g flowise && npx flowise startCreate custom tool nodes for send_email and check_inbox that call MultiMail's REST API, or use Flowise's HTTP Request node with MultiMail endpoint URLs.
Create a chatflow or agentflow that uses your MultiMail tools. Connect an LLM, add your email tools, and configure the system prompt to explain the email context and oversight mode.
Test your flow in Flowise's built-in chat interface. Review pending emails in the MultiMail dashboard. Deploy the flow as an API endpoint when ready.
Email infrastructure built for AI agents. Verifiable identity, graduated oversight, and a 38-tool MCP server. Formally verified in Lean 4.