Integrations / Mailgun
Connect

Mailgun

with ToolJet

Connect Mailgun to your internal tools to send, receive, and track emails programmatically. Perfect for alerts, invoices, and workflows.

Available actions with ToolJet and Mailgun integration
ToolJet's integration with Mailgun supports various operations:
Connect to Mailgun
Add Mailgun as a data source by providing your API key, which can be found or generated from your Mailgun account settings.
Send transactional emails
Use ToolJet’s query editor to send customized emails by specifying recipient, sender, subject, and message body parameters.
Customize email format
Choose between plain text or HTML body content to match your design and messaging needs.
Send to one or multiple recipients
Send a single email to multiple users or individual emails to each recipient by toggling the Multiple recipients option.
Preview and run email requests
Use the Preview button to test the email output or Run to trigger the message and integrate it with your app’s workflows in real time.
Why use ToolJet with Mailgun
AI-powered app building
Build internal tools, workflows, and AI agents in hours using plain English. Go from idea to production with AI-generated apps, data models, and instant debugging.
Enterprise-grade security and compliance
Stay secure with SSO, RBAC, audit logs, encryption, and compliance standards like SOC2, ISO 27001, and GDPR. Deploy your way: cloud, on-prem, or hybrid.
Production-ready database and integrations
Skip setup hassles with instant PostgreSQL and pre-built integrations for AI, databases, storage, and APIs.
Components and environment management
Speed up development with 60+ pre-built components and manage releases across dev, test, and production environments.
Flexible development options
Use no-code visual builders, or dive into low-code, and switch seamlessly as your needs evolve. You have full control, and there is no lock-in.
JavaScript and Python
Write custom logic and data transformations using JavaScript or Python, flexible scripting built right in.
Frequently asked questions
1. How do I access the Mailgun dashboard and generate a Mailgun API key?
To access your Mailgun dashboard, go to the Mailgun login page using your credentials. From there, you can generate a Mailgun API key under API Security settings, which is required to send emails via ToolJet or other platforms.
2. What are the key differences between Mailgun vs SendGrid, and which should I choose?
Both Mailgun and SendGrid offer robust email delivery services, but Mailgun is often preferred for transactional emails and developer tools, while SendGrid provides stronger marketing automation. Your choice depends on use case: compare deliverability, analytics, and API flexibility when evaluating Mailgun vs SendGrid.
3. Is there a free version of Mailgun, and are there any Mailgun alternative tools?
Yes, Mailgun offers a free tier with 5,000 emails per month for the first 30 days. If you need different pricing models or features, some popular Mailgun alternatives include Postmark, Mailjet, and SendGrid.
4. Can I send emails using Mailgun SMTP, and is it supported in ToolJet?
Yes, Mailgun supports SMTP alongside its REST API. While ToolJet uses the Mailgun API, developers can still configure Mailgun SMTP in other tools or custom applications for traditional email sending setups.
5. Where can I find Mailgun documentation and SDKs for integration?
The official Mailgun docs are available at documentation.mailgun.com, covering REST APIs, SMTP, and SDKs. You can use the Mailgun SDK in various languages like Node.js, PHP, and Python to send emails, manage templates, and more.
6. How do I use Mailgun with Laravel or the mailgun-js library in Node.js?
In Laravel, Mailgun can be configured via mail.php using your API key and domain. If you're using Node.js, the mailgun-js library is an official SDK that lets you send emails, track delivery, and handle events programmatically.
Didn’t see your favourite integration here?
No credit card required
14-day free trial
Deploy in your cloud
Contact us
Office address
ToolJet Solutions Inc 1160 Battery St, Suite 100, San Francisco, California, 94111
Copyright © 2025 ToolJet Solutions Inc. All rights reserved.