Automation & No-code
Connect Mailgrid to every no-code workflow tool without writing a single line of code.
Every integration below authenticates with your mb_live_… API key. Set it once in the platform's credential store; all subsequent steps reference it by name.
Zapier
The official Mailgrid Zapier app lives at integrations/zapier/ and is published as the @mailgrid/zapier npm package that powers the Zapier CLI app bundle.
Available actions & triggers
| Type | Key | Description |
|---|---|---|
| Action | send_email | Send a transactional or marketing email immediately |
| Action | schedule_email | Queue an email for a future UTC timestamp |
| Trigger | new_event | Fires on every delivery event (sent, delivered, opened, clicked) via webhook |
Step-by-step setup
- In Zapier, click + Create Zap and search for Mailgrid in the app browser.
- When prompted to connect an account, paste your
mb_live_…key into the API Key field and click Yes, Continue. - Choose an action (
Send EmailorSchedule Email) and map the fields from your trigger step. - Click Test & Review — Zapier sends a live test email and confirms a
200 OKresponse. - Turn the Zap on.
Example Zap: Typeform → welcome email
Trigger: New Typeform response (form: "Sign-up")
Action: Mailgrid — Send Email
# Trigger output (from Typeform step) # {{email}} → respondent's email # {{name}} → respondent's first name from: "hello@yourdomain.com" to: "{{email}}" subject: "Welcome, {{name}} — you're in" html: "<p>Hi {{name}}, thanks for signing up!</p>"
Every new form submission triggers an instant welcome email delivered via Mailgrid's SES pipeline.
Make (Integromat)
The Mailgrid Make app ships as a full app manifest at integrations/make/. Import it once and all modules are available across every scenario in your organization.
Available modules
| Module | Type | Description |
|---|---|---|
| Send Email | Action | Send a message immediately with full header control |
| Schedule Email | Action | Enqueue an email for delivery at a future time |
| List Templates | Search | Return all saved Handlebars templates in your account |
| Get Events | Search | Retrieve delivery events, filterable by type and date range |
Import and authenticate
- In Make, go to Apps → Browse apps → Import app.
- Upload the
make-app.jsonmanifest from theintegrations/make/directory. - Open the app settings and paste your
mb_live_…API key into the API Key connection field. - Click Save and verify the connection — Make sends a credentials check to
GET /api/eventsand expects200 OK.
Using modules in a scenario
Drag any Mailgrid module onto the scenario canvas. All dynamic fields (template IDs, domain names) auto-populate via the Make API introspection layer once the connection is active.
from: "noreply@yourdomain.com" to: "{{1.email}}" // mapped from previous module subject: "Your order is confirmed" template_id: "tpl_order_confirm" variables: { "order_id": "{{1.id}}", "total": "{{1.amount}}" }
n8n
Mailgrid ships a community node published as n8n-nodes-mailgrid at integrations/n8n/. It integrates natively into n8n's visual editor.
Install
npm install n8n-nodes-mailgrid
Then restart your n8n instance. The Mailgrid node appears under Community nodes in the node picker.
Supported operations
| Operation | Description |
|---|---|
| Send Email | Send plain text or HTML email from a verified domain |
| Send Template | Render and send a saved Handlebars template with variables |
| Create Contact | Add or upsert a contact record for list management |
| Get Analytics | Fetch delivery, open, and click stats for a date range |
Example: HTTP trigger → Mailgrid send
// Node 1 — Webhook (HTTP trigger) Method: POST Path: /notify // Node 2 — Mailgrid: Send Email Credential: Mailgrid API (your mb_live_… key) Operation: Send Email From: "alerts@yourdomain.com" To: {{ $json["recipient"] }} Subject: {{ $json["subject"] }} HTML: {{ $json["body"] }}
Post a JSON payload to the n8n webhook URL and the workflow forwards it as a live email in under a second.
Pipedream
The Mailgrid Pipedream action component is published as @mailgrid/pipedream at integrations/pipedream/. Drop it into any Pipedream workflow step.
Component props
props: { api_key: { type: "string", label: "Mailgrid API Key", secret: true, description: "Your mb_live_… key from the Mailgrid dashboard" }, from: { type: "string", label: "From address" }, to: { type: "string", label: "To address" }, subject: { type: "string", label: "Subject line" }, html: { type: "string", label: "HTML body", optional: true }, text: { type: "string", label: "Plain-text body", optional: true } }
Add to a Pipedream workflow
- Open your workflow in Pipedream and click + Add step.
- Choose Use an action and search for Mailgrid.
- Select Send Email from the component list.
- Enter your
mb_live_…key in the API Key prop — Pipedream stores it as an encrypted environment secret. - Map
from,to,subject, and eitherhtmlortextfrom upstream step exports (e.g.,{{steps.trigger.event.email}}). - Click Test to send a live message, then deploy the workflow.
Pabbly Connect
Pabbly does not have a native Mailgrid app yet. Use Pabbly's built-in HTTP module (or the "Webhook by Zapier" action) to call the Mailgrid API directly.
HTTP module configuration
Method: POST URL: https://api.mailgrid.space/api/emails # Headers Authorization: Bearer mb_live_YOUR_KEY_HERE Content-Type: application/json # Body (raw JSON) { "from": "hello@yourdomain.com", "to": "{{email}}", "subject": "{{subject}}", "html": "{{html_body}}" }
Replace {{email}}, {{subject}}, and {{html_body}} with the variable tokens Pabbly provides from your trigger step. A successful send returns HTTP 200 with a "success": true JSON body.
In Pabbly Connect, go to Connections and create a new HTTP connection with the Authorization header pre-filled. Reference the connection in every HTTP module instead of pasting the key inline.
IFTTT & other webhooks
Any platform that can make an HTTP POST request — IFTTT, Webflow Logic, Bubble workflows, Notion automations, or a custom cron job — can send email through Mailgrid directly.
Base request shape
POST https://api.mailgrid.space/api/emails Authorization: Bearer mb_live_YOUR_KEY_HERE Content-Type: application/json { "from": "sender@yourdomain.com", // verified SES domain "to": "recipient@example.com", // or array of strings "subject": "Hello from my workflow", "html": "<p>Body goes here</p>", // or "text" for plain "replyTo": "support@yourdomain.com" // optional }
IFTTT Webhooks setup
- In IFTTT, choose Webhooks as your Then action and select Make a web request.
- Set URL to
https://api.mailgrid.space/api/emails. - Set Method to
POSTand Content Type toapplication/json. - In Additional headers, add:
Authorization: Bearer mb_live_YOUR_KEY_HERE. - Paste a JSON body, using IFTTT ingredient tags like
{{Value1}}for dynamic content.
{
"from": "ifttt@yourdomain.com",
"to": "{{Value1}}",
"subject": "{{Value2}}",
"text": "{{Value3}}"
}
The from address must belong to a domain you have verified in Mailgrid. Sending from an unverified domain returns HTTP 400 { "error": "domain_not_verified" }.
What's next?
- Email API reference — full list of request parameters
- Templates — reuse Handlebars templates across all integration platforms
- Events & webhooks — receive delivery callbacks in your automation tool
- MCP server — drive Mailgrid from Claude or Cursor